Interface ImportAppRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportAppRequest.Builder,,ImportAppRequest> Resiliencehubv2Request.Builder,SdkBuilder<ImportAppRequest.Builder,,ImportAppRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ImportAppRequest
@Mutable
@NotThreadSafe
public static interface ImportAppRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<ImportAppRequest.Builder,ImportAppRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedSystems(Collection<AssociatedSystem> associatedSystems) The systems to associate with the imported service.associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems) The systems to associate with the imported service.associatedSystems(AssociatedSystem... associatedSystems) The systems to associate with the imported service.clientToken(String clientToken) Sets the value of the ClientToken property for this object.Sets the value of the KmsKeyId property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sets the value of the PolicyArn property for this object.skipManuallyAddedResources(Boolean skipManuallyAddedResources) Whether to skip manually added resources during import.Sets the value of the Tags property for this object.Sets the value of the V1AppArn property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehubv2.model.Resiliencehubv2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
v1AppArn
Sets the value of the V1AppArn property for this object.- Parameters:
v1AppArn- The new value for the V1AppArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
Sets the value of the PolicyArn property for this object.- Parameters:
policyArn- The new value for the PolicyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
Sets the value of the KmsKeyId property for this object.- Parameters:
kmsKeyId- The new value for the KmsKeyId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipManuallyAddedResources
Whether to skip manually added resources during import.
- Parameters:
skipManuallyAddedResources- Whether to skip manually added resources during import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems to associate with the imported service.
- Parameters:
associatedSystems- The systems to associate with the imported service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems to associate with the imported service.
- Parameters:
associatedSystems- The systems to associate with the imported service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems to associate with the imported service.
This is a convenience method that creates an instance of theAssociatedSystem.Builderavoiding the need to create one manually viaAssociatedSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedSystems(List<AssociatedSystem>).- Parameters:
associatedSystems- a consumer that will call methods onAssociatedSystem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-