@Stability(value=Stable) public static final class CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnResourceDefinitionVersion.ResourceInstanceProperty>
CfnResourceDefinitionVersion.ResourceInstanceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResourceDefinitionVersion.ResourceInstanceProperty |
build()
Builds the configured instance.
|
CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder |
id(String id)
Sets the value of
CfnResourceDefinitionVersion.ResourceInstanceProperty.getId() |
CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder |
name(String name)
Sets the value of
CfnResourceDefinitionVersion.ResourceInstanceProperty.getName() |
CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder |
resourceDataContainer(CfnResourceDefinitionVersion.ResourceDataContainerProperty resourceDataContainer)
|
CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder |
resourceDataContainer(IResolvable resourceDataContainer)
|
@Stability(value=Stable) public CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder id(String id)
CfnResourceDefinitionVersion.ResourceInstanceProperty.getId()id - A descriptive or arbitrary ID for the resource. This parameter is required.
This value must be unique within the resource definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+ .this@Stability(value=Stable) public CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder name(String name)
CfnResourceDefinitionVersion.ResourceInstanceProperty.getName()name - The descriptive resource name, which is displayed on the AWS IoT Greengrass console. This parameter is required.
Maximum length 128 characters with pattern [a-zA-Z0-9:_-]+. This must be unique within a Greengrass group.this@Stability(value=Stable) public CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder resourceDataContainer(IResolvable resourceDataContainer)
resourceDataContainer - A container for resource data. This parameter is required.
The container takes only one of the following supported resource data types: LocalDeviceResourceData , LocalVolumeResourceData , SageMakerMachineLearningModelResourceData , S3MachineLearningModelResourceData , or SecretsManagerSecretResourceData .
Only one resource type can be defined for a
ResourceDataContainerinstance.
this@Stability(value=Stable) public CfnResourceDefinitionVersion.ResourceInstanceProperty.Builder resourceDataContainer(CfnResourceDefinitionVersion.ResourceDataContainerProperty resourceDataContainer)
resourceDataContainer - A container for resource data. This parameter is required.
The container takes only one of the following supported resource data types: LocalDeviceResourceData , LocalVolumeResourceData , SageMakerMachineLearningModelResourceData , S3MachineLearningModelResourceData , or SecretsManagerSecretResourceData .
Only one resource type can be defined for a
ResourceDataContainerinstance.
this@Stability(value=Stable) public CfnResourceDefinitionVersion.ResourceInstanceProperty build()
build in interface software.amazon.jsii.Builder<CfnResourceDefinitionVersion.ResourceInstanceProperty>CfnResourceDefinitionVersion.ResourceInstancePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.