Interface TestRunPolicySnapshot.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TestRunPolicySnapshot.Builder,,TestRunPolicySnapshot> SdkBuilder<TestRunPolicySnapshot.Builder,,TestRunPolicySnapshot> SdkPojo
- Enclosing class:
TestRunPolicySnapshot
-
Method Summary
Modifier and TypeMethodDescriptiondefault TestRunPolicySnapshot.BuilderavailabilitySlo(Consumer<AvailabilitySlo.Builder> availabilitySlo) The availability SLO targets.availabilitySlo(AvailabilitySlo availabilitySlo) The availability SLO targets.default TestRunPolicySnapshot.BuilderdataRecovery(Consumer<DataRecoveryTargets.Builder> dataRecovery) The data recovery targets.dataRecovery(DataRecoveryTargets dataRecovery) The data recovery targets.default TestRunPolicySnapshot.BuildermultiAz(Consumer<MultiAzTargets.Builder> multiAz) The multi-AZ resilience targets.multiAz(MultiAzTargets multiAz) The multi-AZ resilience targets.default TestRunPolicySnapshot.BuildermultiRegion(Consumer<MultiRegionTargets.Builder> multiRegion) The multi-Region resilience targets.multiRegion(MultiRegionTargets multiRegion) The multi-Region resilience targets.The name of the policy.The ARN of the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyArn
The ARN of the policy.
- Parameters:
policyArn- The ARN of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the policy.
- Parameters:
name- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilitySlo
The availability SLO targets.
- Parameters:
availabilitySlo- The availability SLO targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilitySlo
default TestRunPolicySnapshot.Builder availabilitySlo(Consumer<AvailabilitySlo.Builder> availabilitySlo) The availability SLO targets.
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:
-
multiAz
The multi-AZ resilience targets.
- Parameters:
multiAz- The multi-AZ resilience targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAz
The multi-AZ resilience targets.
This is a convenience method that creates an instance of theMultiAzTargets.Builderavoiding the need to create one manually viaMultiAzTargets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiAz(MultiAzTargets).- Parameters:
multiAz- a consumer that will call methods onMultiAzTargets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiRegion
The multi-Region resilience targets.
- Parameters:
multiRegion- The multi-Region resilience targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegion
The multi-Region resilience targets.
This is a convenience method that creates an instance of theMultiRegionTargets.Builderavoiding the need to create one manually viaMultiRegionTargets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiRegion(MultiRegionTargets).- Parameters:
multiRegion- a consumer that will call methods onMultiRegionTargets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataRecovery
The data recovery targets.
- Parameters:
dataRecovery- The data recovery targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRecovery
default TestRunPolicySnapshot.Builder dataRecovery(Consumer<DataRecoveryTargets.Builder> dataRecovery) The data recovery targets.
This is a convenience method that creates an instance of theDataRecoveryTargets.Builderavoiding the need to create one manually viaDataRecoveryTargets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataRecovery(DataRecoveryTargets).- Parameters:
dataRecovery- a consumer that will call methods onDataRecoveryTargets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-