Interface PolicySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicySummary.Builder,,PolicySummary> SdkBuilder<PolicySummary.Builder,,PolicySummary> SdkPojo
- Enclosing class:
PolicySummary
-
Method Summary
Modifier and TypeMethodDescriptionassociatedServiceCount(Integer associatedServiceCount) The number of services associated with this policy.default PolicySummary.BuilderavailabilitySlo(Consumer<AvailabilitySlo.Builder> availabilitySlo) The availability SLO defined in the policy.availabilitySlo(AvailabilitySlo availabilitySlo) The availability SLO defined in the policy.The timestamp when the policy was created.default PolicySummary.BuilderdataRecovery(Consumer<DataRecoveryTargets.Builder> dataRecovery) The data recovery targets defined in the policy.dataRecovery(DataRecoveryTargets dataRecovery) The data recovery targets defined in the policy.default PolicySummary.BuildermultiAz(Consumer<MultiAzTargets.Builder> multiAz) The multi-AZ disaster recovery targets defined in the policy.multiAz(MultiAzTargets multiAz) The multi-AZ disaster recovery targets defined in the policy.default PolicySummary.BuildermultiRegion(Consumer<MultiRegionTargets.Builder> multiRegion) The multi-Region disaster recovery targets defined in the policy.multiRegion(MultiRegionTargets multiRegion) The multi-Region disaster recovery targets defined in the policy.Sets the value of the Name property for this object.Sets the value of the PolicyArn property for this object.The timestamp when the policy was last updated.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
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.
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilitySlo
The availability SLO defined in the policy.
- Parameters:
availabilitySlo- The availability SLO defined in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilitySlo
The availability SLO defined in the 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:
-
multiAz
The multi-AZ disaster recovery targets defined in the policy.
- Parameters:
multiAz- The multi-AZ disaster recovery targets defined in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAz
The multi-AZ disaster recovery targets defined in the policy.
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 disaster recovery targets defined in the policy.
- Parameters:
multiRegion- The multi-Region disaster recovery targets defined in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegion
The multi-Region disaster recovery targets defined in the policy.
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 defined in the policy.
- Parameters:
dataRecovery- The data recovery targets defined in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRecovery
The data recovery targets defined in the policy.
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:
-
associatedServiceCount
The number of services associated with this policy.
- Parameters:
associatedServiceCount- The number of services associated with this policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the policy was created.
- Parameters:
createdAt- The timestamp when the policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the policy was last updated.
- Parameters:
updatedAt- The timestamp when the policy was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-