Interface ImportResourcesToDraftAppVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportResourcesToDraftAppVersionRequest.Builder,
,ImportResourcesToDraftAppVersionRequest> ResiliencehubRequest.Builder
,SdkBuilder<ImportResourcesToDraftAppVersionRequest.Builder,
,ImportResourcesToDraftAppVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ImportResourcesToDraftAppVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.eksSources
(Collection<EksSource> eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you need to import.eksSources
(Consumer<EksSource.Builder>... eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you need to import.eksSources
(EksSource... eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you need to import.importStrategy
(String importStrategy) The import strategy you would like to set to import resources into Resilience Hub application.importStrategy
(ResourceImportStrategyType importStrategy) The import strategy you would like to set to import resources into Resilience Hub application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceArns
(String... sourceArns) The Amazon Resource Names (ARNs) for the resources.sourceArns
(Collection<String> sourceArns) The Amazon Resource Names (ARNs) for the resources.terraformSources
(Collection<TerraformSource> terraformSources) A list of terraform file s3 URLs you need to import.terraformSources
(Consumer<TerraformSource.Builder>... terraformSources) A list of terraform file s3 URLs you need to import.terraformSources
(TerraformSource... terraformSources) A list of terraform file s3 URLs you need to import.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, sdkFieldNameToField, sdkFields
-
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.
-
eksSources
The input sources of the Amazon Elastic Kubernetes Service resources you need to import.
- Parameters:
eksSources
- The input sources of the Amazon Elastic Kubernetes Service resources you need to import.- 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 need to import.
- Parameters:
eksSources
- The input sources of the Amazon Elastic Kubernetes Service resources you need to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksSources
ImportResourcesToDraftAppVersionRequest.Builder eksSources(Consumer<EksSource.Builder>... eksSources) The input sources of the Amazon Elastic Kubernetes Service resources you need to import.
This is a convenience method that creates an instance of theEksSource.Builder
avoiding the need to create one manually viaEksSource.builder()
.When the
Consumer
completes,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:
-
importStrategy
The import strategy you would like to set to import resources into Resilience Hub application.
- Parameters:
importStrategy
- The import strategy you would like to set to import resources into Resilience Hub application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importStrategy
ImportResourcesToDraftAppVersionRequest.Builder importStrategy(ResourceImportStrategyType importStrategy) The import strategy you would like to set to import resources into Resilience Hub application.
- Parameters:
importStrategy
- The import strategy you would like to set to import resources into Resilience Hub application.- 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.
- Parameters:
sourceArns
- The Amazon Resource Names (ARNs) for the resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArns
The Amazon Resource Names (ARNs) for the resources.
- Parameters:
sourceArns
- The Amazon Resource Names (ARNs) for the resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSources
ImportResourcesToDraftAppVersionRequest.Builder terraformSources(Collection<TerraformSource> terraformSources) A list of terraform file s3 URLs you need to import.
- Parameters:
terraformSources
- A list of terraform file s3 URLs you need to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSources
ImportResourcesToDraftAppVersionRequest.Builder terraformSources(TerraformSource... terraformSources) A list of terraform file s3 URLs you need to import.
- Parameters:
terraformSources
- A list of terraform file s3 URLs you need to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSources
ImportResourcesToDraftAppVersionRequest.Builder terraformSources(Consumer<TerraformSource.Builder>... terraformSources) A list of terraform file s3 URLs you need to import.
This is a convenience method that creates an instance of theTerraformSource.Builder
avoiding the need to create one manually viaTerraformSource.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
ImportResourcesToDraftAppVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportResourcesToDraftAppVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-