Interface ImportResourcesToDraftAppVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ImportResourcesToDraftAppVersionResponse.Builder,,ImportResourcesToDraftAppVersionResponse> ResiliencehubResponse.Builder,SdkBuilder<ImportResourcesToDraftAppVersionResponse.Builder,,ImportResourcesToDraftAppVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ImportResourcesToDraftAppVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.appVersion(String appVersion) The version of the application.eksSources(Collection<EksSource> eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you have imported.eksSources(Consumer<EksSource.Builder>... eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you have imported.eksSources(EksSource... eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you have imported.sourceArns(String... sourceArns) The Amazon Resource Names (ARNs) for the resources you have imported.sourceArns(Collection<String> sourceArns) The Amazon Resource Names (ARNs) for the resources you have imported.Status of the action.status(ResourceImportStatusType status) Status of the action.terraformSources(Collection<TerraformSource> terraformSources) A list of terraform file s3 URLs you have imported.terraformSources(Consumer<TerraformSource.Builder>... terraformSources) A list of terraform file s3 URLs you have imported.terraformSources(TerraformSource... terraformSources) A list of terraform file s3 URLs you have imported.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.
-
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
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 toeksSources(List<EksSource>).- 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:
-
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
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
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:
-
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:
-
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 toterraformSources(List<TerraformSource>).- 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:
-