Interface AddDraftAppVersionResourceMappingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddDraftAppVersionResourceMappingsRequest.Builder,
,AddDraftAppVersionResourceMappingsRequest> ResiliencehubRequest.Builder
,SdkBuilder<AddDraftAppVersionResourceMappingsRequest.Builder,
,AddDraftAppVersionResourceMappingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddDraftAppVersionResourceMappingsRequest
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceMappings
(Collection<ResourceMapping> resourceMappings) Mappings used to map logical resources from the template to physical resources.resourceMappings
(Consumer<ResourceMapping.Builder>... resourceMappings) Mappings used to map logical resources from the template to physical resources.resourceMappings
(ResourceMapping... resourceMappings) Mappings used to map logical resources from the template to physical resources.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubRequest.Builder
build
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
-
appArn
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Parameters:
appArn
- Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
AddDraftAppVersionResourceMappingsRequest.Builder resourceMappings(Collection<ResourceMapping> resourceMappings) Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.- Parameters:
resourceMappings
- Mappings used to map logical resources from the template to physical resources. You can use the mapping typeCFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
AddDraftAppVersionResourceMappingsRequest.Builder resourceMappings(ResourceMapping... resourceMappings) Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.- Parameters:
resourceMappings
- Mappings used to map logical resources from the template to physical resources. You can use the mapping typeCFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
AddDraftAppVersionResourceMappingsRequest.Builder resourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings) Mappings used to map logical resources from the template to physical resources. You can use the mapping type
This is a convenience method that creates an instance of theCFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.ResourceMapping.Builder
avoiding the need to create one manually viaResourceMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceMappings(List<ResourceMapping>)
.- Parameters:
resourceMappings
- a consumer that will call methods onResourceMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddDraftAppVersionResourceMappingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddDraftAppVersionResourceMappingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-