Interface ImportResourcesToDraftAppVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ImportResourcesToDraftAppVersionResponse.Builder,ImportResourcesToDraftAppVersionResponse>,ResiliencehubResponse.Builder,SdkBuilder<ImportResourcesToDraftAppVersionResponse.Builder,ImportResourcesToDraftAppVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ImportResourcesToDraftAppVersionResponse
public static interface ImportResourcesToDraftAppVersionResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<ImportResourcesToDraftAppVersionResponse.Builder,ImportResourcesToDraftAppVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportResourcesToDraftAppVersionResponse.BuilderappArn(String appArn)Amazon Resource Name (ARN) of the Resilience Hub application.ImportResourcesToDraftAppVersionResponse.BuilderappVersion(String appVersion)The version of the application.ImportResourcesToDraftAppVersionResponse.BuildereksSources(Collection<EksSource> eksSources)The input sources of the Amazon Elastic Kubernetes Service resources you have imported.ImportResourcesToDraftAppVersionResponse.BuildereksSources(Consumer<EksSource.Builder>... eksSources)The input sources of the Amazon Elastic Kubernetes Service resources you have imported.ImportResourcesToDraftAppVersionResponse.BuildereksSources(EksSource... eksSources)The input sources of the Amazon Elastic Kubernetes Service resources you have imported.ImportResourcesToDraftAppVersionResponse.BuildersourceArns(String... sourceArns)The Amazon Resource Names (ARNs) for the resources you have imported.ImportResourcesToDraftAppVersionResponse.BuildersourceArns(Collection<String> sourceArns)The Amazon Resource Names (ARNs) for the resources you have imported.ImportResourcesToDraftAppVersionResponse.Builderstatus(String status)Status of the action.ImportResourcesToDraftAppVersionResponse.Builderstatus(ResourceImportStatusType status)Status of the action.ImportResourcesToDraftAppVersionResponse.BuilderterraformSources(Collection<TerraformSource> terraformSources)A list of terraform file s3 URLs you have imported.ImportResourcesToDraftAppVersionResponse.BuilderterraformSources(Consumer<TerraformSource.Builder>... terraformSources)A list of terraform file s3 URLs you have imported.ImportResourcesToDraftAppVersionResponse.BuilderterraformSources(TerraformSource... terraformSources)A list of terraform file s3 URLs you have imported.-
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
ImportResourcesToDraftAppVersionResponse.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
ImportResourcesToDraftAppVersionResponse.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.
-
eksSources
ImportResourcesToDraftAppVersionResponse.Builder eksSources(Collection<EksSource> eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
- Parameters:
eksSources- The input sources of the Amazon Elastic Kubernetes Service resources you have imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksSources
ImportResourcesToDraftAppVersionResponse.Builder eksSources(EksSource... eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
- Parameters:
eksSources- The input sources of the Amazon Elastic Kubernetes Service resources you have imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksSources
ImportResourcesToDraftAppVersionResponse.Builder eksSources(Consumer<EksSource.Builder>... eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
This is a convenience method that creates an instance of theEksSource.Builderavoiding the need to create one manually viaEksSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eksSources(List.) - Parameters:
eksSources- a consumer that will call methods onEksSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#eksSources(java.util.Collection)
-
sourceArns
ImportResourcesToDraftAppVersionResponse.Builder sourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
- Parameters:
sourceArns- The Amazon Resource Names (ARNs) for the resources you have imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArns
ImportResourcesToDraftAppVersionResponse.Builder sourceArns(String... sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
- Parameters:
sourceArns- The Amazon Resource Names (ARNs) for the resources you have imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ImportResourcesToDraftAppVersionResponse.Builder status(String status)
Status of the action.
- Parameters:
status- Status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceImportStatusType,ResourceImportStatusType
-
status
ImportResourcesToDraftAppVersionResponse.Builder status(ResourceImportStatusType status)
Status of the action.
- Parameters:
status- Status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceImportStatusType,ResourceImportStatusType
-
terraformSources
ImportResourcesToDraftAppVersionResponse.Builder terraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you have imported.
- Parameters:
terraformSources- A list of terraform file s3 URLs you have imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSources
ImportResourcesToDraftAppVersionResponse.Builder terraformSources(TerraformSource... terraformSources)
A list of terraform file s3 URLs you have imported.
- Parameters:
terraformSources- A list of terraform file s3 URLs you have imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSources
ImportResourcesToDraftAppVersionResponse.Builder terraformSources(Consumer<TerraformSource.Builder>... terraformSources)
A list of terraform file s3 URLs you have imported.
This is a convenience method that creates an instance of theTerraformSource.Builderavoiding the need to create one manually viaTerraformSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#terraformSources(List.) - Parameters:
terraformSources- a consumer that will call methods onTerraformSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#terraformSources(java.util.Collection)
-
-