Interface AddDraftAppVersionResourceMappingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddDraftAppVersionResourceMappingsResponse.Builder,,AddDraftAppVersionResourceMappingsResponse> ResiliencehubResponse.Builder,SdkBuilder<AddDraftAppVersionResourceMappingsResponse.Builder,,AddDraftAppVersionResourceMappingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AddDraftAppVersionResourceMappingsResponse
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.appVersion(String appVersion) The version of the application.resourceMappings(Collection<ResourceMapping> resourceMappings) List of sources that are used to map a logical resource from the template to a physical resource.resourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings) List of sources that are used to map a logical resource from the template to a physical resource.resourceMappings(ResourceMapping... resourceMappings) List of sources that are used to map a logical resource from the template to a physical resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
appVersion
The version of the application.
- Parameters:
appVersion- The version of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
AddDraftAppVersionResourceMappingsResponse.Builder resourceMappings(Collection<ResourceMapping> resourceMappings) List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
- Parameters:
resourceMappings- List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
AddDraftAppVersionResourceMappingsResponse.Builder resourceMappings(ResourceMapping... resourceMappings) List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
- Parameters:
resourceMappings- List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
AddDraftAppVersionResourceMappingsResponse.Builder resourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings) List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
This is a convenience method that creates an instance of theResourceMapping.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:
-