Class CfnResourceDefinition.ResourceDataContainerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.ResourceDataContainerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinition.ResourceDataContainerProperty>
- Enclosing interface:
CfnResourceDefinition.ResourceDataContainerProperty
@Stability(Stable)
public static final class CfnResourceDefinition.ResourceDataContainerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinition.ResourceDataContainerProperty>
A builder for
CfnResourceDefinition.ResourceDataContainerProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.localDeviceResourceData
(IResolvable localDeviceResourceData) localDeviceResourceData
(CfnResourceDefinition.LocalDeviceResourceDataProperty localDeviceResourceData) localVolumeResourceData
(IResolvable localVolumeResourceData) localVolumeResourceData
(CfnResourceDefinition.LocalVolumeResourceDataProperty localVolumeResourceData) s3MachineLearningModelResourceData
(IResolvable s3MachineLearningModelResourceData) s3MachineLearningModelResourceData
(CfnResourceDefinition.S3MachineLearningModelResourceDataProperty s3MachineLearningModelResourceData) sageMakerMachineLearningModelResourceData
(IResolvable sageMakerMachineLearningModelResourceData) sageMakerMachineLearningModelResourceData
(CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty sageMakerMachineLearningModelResourceData) secretsManagerSecretResourceData
(IResolvable secretsManagerSecretResourceData) secretsManagerSecretResourceData
(CfnResourceDefinition.SecretsManagerSecretResourceDataProperty secretsManagerSecretResourceData)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localDeviceResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder localDeviceResourceData(IResolvable localDeviceResourceData) - Parameters:
localDeviceResourceData
- Settings for a local device resource.- Returns:
this
-
localDeviceResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder localDeviceResourceData(CfnResourceDefinition.LocalDeviceResourceDataProperty localDeviceResourceData) - Parameters:
localDeviceResourceData
- Settings for a local device resource.- Returns:
this
-
localVolumeResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder localVolumeResourceData(IResolvable localVolumeResourceData) - Parameters:
localVolumeResourceData
- Settings for a local volume resource.- Returns:
this
-
localVolumeResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder localVolumeResourceData(CfnResourceDefinition.LocalVolumeResourceDataProperty localVolumeResourceData) - Parameters:
localVolumeResourceData
- Settings for a local volume resource.- Returns:
this
-
s3MachineLearningModelResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder s3MachineLearningModelResourceData(IResolvable s3MachineLearningModelResourceData) Sets the value ofCfnResourceDefinition.ResourceDataContainerProperty.getS3MachineLearningModelResourceData()
- Parameters:
s3MachineLearningModelResourceData
- Settings for a machine learning resource stored in Amazon S3 .- Returns:
this
-
s3MachineLearningModelResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder s3MachineLearningModelResourceData(CfnResourceDefinition.S3MachineLearningModelResourceDataProperty s3MachineLearningModelResourceData) Sets the value ofCfnResourceDefinition.ResourceDataContainerProperty.getS3MachineLearningModelResourceData()
- Parameters:
s3MachineLearningModelResourceData
- Settings for a machine learning resource stored in Amazon S3 .- Returns:
this
-
sageMakerMachineLearningModelResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder sageMakerMachineLearningModelResourceData(IResolvable sageMakerMachineLearningModelResourceData) Sets the value ofCfnResourceDefinition.ResourceDataContainerProperty.getSageMakerMachineLearningModelResourceData()
- Parameters:
sageMakerMachineLearningModelResourceData
- Settings for a machine learning resource saved as an SageMaker training job.- Returns:
this
-
sageMakerMachineLearningModelResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder sageMakerMachineLearningModelResourceData(CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty sageMakerMachineLearningModelResourceData) Sets the value ofCfnResourceDefinition.ResourceDataContainerProperty.getSageMakerMachineLearningModelResourceData()
- Parameters:
sageMakerMachineLearningModelResourceData
- Settings for a machine learning resource saved as an SageMaker training job.- Returns:
this
-
secretsManagerSecretResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder secretsManagerSecretResourceData(IResolvable secretsManagerSecretResourceData) Sets the value ofCfnResourceDefinition.ResourceDataContainerProperty.getSecretsManagerSecretResourceData()
- Parameters:
secretsManagerSecretResourceData
- Settings for a secret resource.- Returns:
this
-
secretsManagerSecretResourceData
@Stability(Stable) public CfnResourceDefinition.ResourceDataContainerProperty.Builder secretsManagerSecretResourceData(CfnResourceDefinition.SecretsManagerSecretResourceDataProperty secretsManagerSecretResourceData) Sets the value ofCfnResourceDefinition.ResourceDataContainerProperty.getSecretsManagerSecretResourceData()
- Parameters:
secretsManagerSecretResourceData
- Settings for a secret resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceDefinition.ResourceDataContainerProperty>
- Returns:
- a new instance of
CfnResourceDefinition.ResourceDataContainerProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-