Interface ImportPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportPolicyRequest.Builder,,ImportPolicyRequest> Resiliencehubv2Request.Builder,SdkBuilder<ImportPolicyRequest.Builder,,ImportPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ImportPolicyRequest
@Mutable
@NotThreadSafe
public static interface ImportPolicyRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<ImportPolicyRequest.Builder,ImportPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImportPolicyRequest.BuilderavailabilitySlo(Consumer<AvailabilitySlo.Builder> availabilitySlo) The availability SLO to set on the imported policy.availabilitySlo(AvailabilitySlo availabilitySlo) The availability SLO to set on the imported policy.clientToken(String clientToken) Sets the value of the ClientToken property for this object.Sets the value of the KmsKeyId property for this object.multiAzDisasterRecoveryApproach(String multiAzDisasterRecoveryApproach) The multi-AZ disaster recovery approach for the imported policy.multiAzDisasterRecoveryApproach(MultiAzDisasterRecoveryApproach multiAzDisasterRecoveryApproach) The multi-AZ disaster recovery approach for the imported policy.multiRegionDisasterRecoveryApproach(String multiRegionDisasterRecoveryApproach) The multi-Region disaster recovery approach for the imported policy.multiRegionDisasterRecoveryApproach(MultiRegionDisasterRecoveryApproach multiRegionDisasterRecoveryApproach) The multi-Region disaster recovery approach for the imported policy.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 Tags property for this object.v1PolicyArn(String v1PolicyArn) Sets the value of the V1PolicyArn 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
-
v1PolicyArn
Sets the value of the V1PolicyArn property for this object.- Parameters:
v1PolicyArn- The new value for the V1PolicyArn 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.
-
availabilitySlo
The availability SLO to set on the imported policy.
- Parameters:
availabilitySlo- The availability SLO to set on the imported policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilitySlo
default ImportPolicyRequest.Builder availabilitySlo(Consumer<AvailabilitySlo.Builder> availabilitySlo) The availability SLO to set on the imported policy.
This is a convenience method that creates an instance of theAvailabilitySlo.Builderavoiding the need to create one manually viaAvailabilitySlo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailabilitySlo(AvailabilitySlo).- Parameters:
availabilitySlo- a consumer that will call methods onAvailabilitySlo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiAzDisasterRecoveryApproach
The multi-AZ disaster recovery approach for the imported policy.
- Parameters:
multiAzDisasterRecoveryApproach- The multi-AZ disaster recovery approach for the imported policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiAzDisasterRecoveryApproach
ImportPolicyRequest.Builder multiAzDisasterRecoveryApproach(MultiAzDisasterRecoveryApproach multiAzDisasterRecoveryApproach) The multi-AZ disaster recovery approach for the imported policy.
- Parameters:
multiAzDisasterRecoveryApproach- The multi-AZ disaster recovery approach for the imported policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiRegionDisasterRecoveryApproach
ImportPolicyRequest.Builder multiRegionDisasterRecoveryApproach(String multiRegionDisasterRecoveryApproach) The multi-Region disaster recovery approach for the imported policy.
- Parameters:
multiRegionDisasterRecoveryApproach- The multi-Region disaster recovery approach for the imported policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiRegionDisasterRecoveryApproach
ImportPolicyRequest.Builder multiRegionDisasterRecoveryApproach(MultiRegionDisasterRecoveryApproach multiRegionDisasterRecoveryApproach) The multi-Region disaster recovery approach for the imported policy.
- Parameters:
multiRegionDisasterRecoveryApproach- The multi-Region disaster recovery approach for the imported policy.- 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
ImportPolicyRequest.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
ImportPolicyRequest.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.
-