Interface AddDraftAppVersionResourceMappingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddDraftAppVersionResourceMappingsResponse.Builder,AddDraftAppVersionResourceMappingsResponse>,ResiliencehubResponse.Builder,SdkBuilder<AddDraftAppVersionResourceMappingsResponse.Builder,AddDraftAppVersionResourceMappingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AddDraftAppVersionResourceMappingsResponse
public static interface AddDraftAppVersionResourceMappingsResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<AddDraftAppVersionResourceMappingsResponse.Builder,AddDraftAppVersionResourceMappingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddDraftAppVersionResourceMappingsResponse.BuilderappArn(String appArn)Amazon Resource Name (ARN) of the Resilience Hub application.AddDraftAppVersionResourceMappingsResponse.BuilderappVersion(String appVersion)The version of the application.AddDraftAppVersionResourceMappingsResponse.BuilderresourceMappings(Collection<ResourceMapping> resourceMappings)List of sources that are used to map a logical resource from the template to a physical resource.AddDraftAppVersionResourceMappingsResponse.BuilderresourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings)List of sources that are used to map a logical resource from the template to a physical resource.AddDraftAppVersionResourceMappingsResponse.BuilderresourceMappings(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
appArn
AddDraftAppVersionResourceMappingsResponse.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.
-
appVersion
AddDraftAppVersionResourceMappingsResponse.Builder appVersion(String 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 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)
-
-