Interface AddDraftAppVersionResourceMappingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddDraftAppVersionResourceMappingsRequest.Builder,AddDraftAppVersionResourceMappingsRequest>,ResiliencehubRequest.Builder,SdkBuilder<AddDraftAppVersionResourceMappingsRequest.Builder,AddDraftAppVersionResourceMappingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddDraftAppVersionResourceMappingsRequest
public static interface AddDraftAppVersionResourceMappingsRequest.Builder extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<AddDraftAppVersionResourceMappingsRequest.Builder,AddDraftAppVersionResourceMappingsRequest>
-
-
Method Summary
-
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 Detail
-
appArn
AddDraftAppVersionResourceMappingsRequest.Builder appArn(String 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 to#resourceMappings(List.) - 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:
#resourceMappings(java.util.Collection)
-
overrideConfiguration
AddDraftAppVersionResourceMappingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddDraftAppVersionResourceMappingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-