Interface ManagedResourceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedResourceSummary.Builder,ManagedResourceSummary>,SdkBuilder<ManagedResourceSummary.Builder,ManagedResourceSummary>,SdkPojo
- Enclosing class:
- ManagedResourceSummary
public static interface ManagedResourceSummary.Builder extends SdkPojo, CopyableBuilder<ManagedResourceSummary.Builder,ManagedResourceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedResourceSummary.BuilderappliedWeights(Map<String,Float> appliedWeights)A collection of key-value pairs that indicate whether resources are active in Availability Zones or not.ManagedResourceSummary.Builderarn(String arn)The Amazon Resource Name (ARN) for the managed resource.ManagedResourceSummary.Builderautoshifts(Collection<AutoshiftInResource> autoshifts)An array of the autoshifts that have been completed for a resource.ManagedResourceSummary.Builderautoshifts(Consumer<AutoshiftInResource.Builder>... autoshifts)An array of the autoshifts that have been completed for a resource.ManagedResourceSummary.Builderautoshifts(AutoshiftInResource... autoshifts)An array of the autoshifts that have been completed for a resource.ManagedResourceSummary.BuilderavailabilityZones(String... availabilityZones)The Availability Zones that a resource is deployed in.ManagedResourceSummary.BuilderavailabilityZones(Collection<String> availabilityZones)The Availability Zones that a resource is deployed in.ManagedResourceSummary.Buildername(String name)The name of the managed resource.ManagedResourceSummary.BuilderpracticeRunStatus(String practiceRunStatus)This status tracks whether a practice run configuration exists for a resource.ManagedResourceSummary.BuilderpracticeRunStatus(ZonalAutoshiftStatus practiceRunStatus)This status tracks whether a practice run configuration exists for a resource.ManagedResourceSummary.BuilderzonalAutoshiftStatus(String zonalAutoshiftStatus)The status of autoshift for a resource.ManagedResourceSummary.BuilderzonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)The status of autoshift for a resource.ManagedResourceSummary.BuilderzonalShifts(Collection<ZonalShiftInResource> zonalShifts)An array of the zonal shifts for a resource.ManagedResourceSummary.BuilderzonalShifts(Consumer<ZonalShiftInResource.Builder>... zonalShifts)An array of the zonal shifts for a resource.ManagedResourceSummary.BuilderzonalShifts(ZonalShiftInResource... zonalShifts)An array of the zonal shifts for a resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appliedWeights
ManagedResourceSummary.Builder appliedWeights(Map<String,Float> appliedWeights)
A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.
- Parameters:
appliedWeights- A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ManagedResourceSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) for the managed resource.
- Parameters:
arn- The Amazon Resource Name (ARN) for the managed resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoshifts
ManagedResourceSummary.Builder autoshifts(Collection<AutoshiftInResource> autoshifts)
An array of the autoshifts that have been completed for a resource.
- Parameters:
autoshifts- An array of the autoshifts that have been completed for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoshifts
ManagedResourceSummary.Builder autoshifts(AutoshiftInResource... autoshifts)
An array of the autoshifts that have been completed for a resource.
- Parameters:
autoshifts- An array of the autoshifts that have been completed for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoshifts
ManagedResourceSummary.Builder autoshifts(Consumer<AutoshiftInResource.Builder>... autoshifts)
An array of the autoshifts that have been completed for a resource.
This is a convenience method that creates an instance of theAutoshiftInResource.Builderavoiding the need to create one manually viaAutoshiftInResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#autoshifts(List.) - Parameters:
autoshifts- a consumer that will call methods onAutoshiftInResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#autoshifts(java.util.Collection)
-
availabilityZones
ManagedResourceSummary.Builder availabilityZones(Collection<String> availabilityZones)
The Availability Zones that a resource is deployed in.
- Parameters:
availabilityZones- The Availability Zones that a resource is deployed in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
ManagedResourceSummary.Builder availabilityZones(String... availabilityZones)
The Availability Zones that a resource is deployed in.
- Parameters:
availabilityZones- The Availability Zones that a resource is deployed in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ManagedResourceSummary.Builder name(String name)
The name of the managed resource.
- Parameters:
name- The name of the managed resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
practiceRunStatus
ManagedResourceSummary.Builder practiceRunStatus(String practiceRunStatus)
This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, Route 53 ARC sets this value to
ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, Route 53 ARC sets the value toDISABLED.Route 53 ARC updates this status; you can't set a practice run status to
ENABLEDorDISABLED.- Parameters:
practiceRunStatus- This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, Route 53 ARC sets this value toENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, Route 53 ARC sets the value toDISABLED.Route 53 ARC updates this status; you can't set a practice run status to
ENABLEDorDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZonalAutoshiftStatus,ZonalAutoshiftStatus
-
practiceRunStatus
ManagedResourceSummary.Builder practiceRunStatus(ZonalAutoshiftStatus practiceRunStatus)
This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, Route 53 ARC sets this value to
ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, Route 53 ARC sets the value toDISABLED.Route 53 ARC updates this status; you can't set a practice run status to
ENABLEDorDISABLED.- Parameters:
practiceRunStatus- This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, Route 53 ARC sets this value toENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, Route 53 ARC sets the value toDISABLED.Route 53 ARC updates this status; you can't set a practice run status to
ENABLEDorDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZonalAutoshiftStatus,ZonalAutoshiftStatus
-
zonalAutoshiftStatus
ManagedResourceSummary.Builder zonalAutoshiftStatus(String zonalAutoshiftStatus)
The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to
ENABLEDorDISABLED.- Parameters:
zonalAutoshiftStatus- The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status toENABLEDorDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZonalAutoshiftStatus,ZonalAutoshiftStatus
-
zonalAutoshiftStatus
ManagedResourceSummary.Builder zonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)
The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to
ENABLEDorDISABLED.- Parameters:
zonalAutoshiftStatus- The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status toENABLEDorDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZonalAutoshiftStatus,ZonalAutoshiftStatus
-
zonalShifts
ManagedResourceSummary.Builder zonalShifts(Collection<ZonalShiftInResource> zonalShifts)
An array of the zonal shifts for a resource.
- Parameters:
zonalShifts- An array of the zonal shifts for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zonalShifts
ManagedResourceSummary.Builder zonalShifts(ZonalShiftInResource... zonalShifts)
An array of the zonal shifts for a resource.
- Parameters:
zonalShifts- An array of the zonal shifts for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zonalShifts
ManagedResourceSummary.Builder zonalShifts(Consumer<ZonalShiftInResource.Builder>... zonalShifts)
An array of the zonal shifts for a resource.
This is a convenience method that creates an instance of theZonalShiftInResource.Builderavoiding the need to create one manually viaZonalShiftInResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#zonalShifts(List.) - Parameters:
zonalShifts- a consumer that will call methods onZonalShiftInResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#zonalShifts(java.util.Collection)
-
-