Interface ResourceToImport.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceToImport.Builder,ResourceToImport>,SdkBuilder<ResourceToImport.Builder,ResourceToImport>,SdkPojo
- Enclosing class:
- ResourceToImport
@Mutable @NotThreadSafe public static interface ResourceToImport.Builder extends SdkPojo, CopyableBuilder<ResourceToImport.Builder,ResourceToImport>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceToImport.BuilderlogicalResourceId(String logicalResourceId)The logical ID of the target resource as specified in the template.ResourceToImport.BuilderresourceIdentifier(Map<String,String> resourceIdentifier)A key-value pair that identifies the target resource.ResourceToImport.BuilderresourceType(String resourceType)The type of resource to import into your stack, such asAWS::S3::Bucket.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceType
ResourceToImport.Builder resourceType(String resourceType)
The type of resource to import into your stack, such as
AWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.- Parameters:
resourceType- The type of resource to import into your stack, such asAWS::S3::Bucket. For a list of supported resource types, see Resource type support for imports and drift detection in the CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalResourceId
ResourceToImport.Builder logicalResourceId(String logicalResourceId)
The logical ID of the target resource as specified in the template.
- Parameters:
logicalResourceId- The logical ID of the target resource as specified in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
ResourceToImport.Builder resourceIdentifier(Map<String,String> resourceIdentifier)
A key-value pair that identifies the target resource. The key is an identifier property (for example,
BucketNameforAWS::S3::Bucketresources) and the value is the actual property value (for example,MyS3Bucket).- Parameters:
resourceIdentifier- A key-value pair that identifies the target resource. The key is an identifier property (for example,BucketNameforAWS::S3::Bucketresources) and the value is the actual property value (for example,MyS3Bucket).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-