Interface ResourceToImport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceToImport.Builder,,ResourceToImport> SdkBuilder<ResourceToImport.Builder,,ResourceToImport> SdkPojo
- Enclosing class:
ResourceToImport
public static interface ResourceToImport.Builder
extends SdkPojo, CopyableBuilder<ResourceToImport.Builder,ResourceToImport>
-
Method Summary
Modifier and TypeMethodDescriptionlogicalResourceId(String logicalResourceId) The logical ID of the target resource as specified in the template.resourceIdentifier(Map<String, String> resourceIdentifier) A key-value pair that identifies the target resource.resourceType(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-