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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 Resources that support import operations 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 Resources that support import operations 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,
BucketName
forAWS::S3::Bucket
resources) 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,BucketName
forAWS::S3::Bucket
resources) 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.
-