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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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_STACKif 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_STACKif 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_STACKif 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_STACKif 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_STACKif 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_STACKif 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_STACKif 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_STACKif 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_STACKif 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_STACKif the application is backed by a CloudFormation stack.ResourceMapping.Builderavoiding the need to create one manually viaResourceMapping.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-