Interface ManagedResourceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedResourceSummary.Builder,
,ManagedResourceSummary> SdkBuilder<ManagedResourceSummary.Builder,
,ManagedResourceSummary> SdkPojo
- Enclosing class:
ManagedResourceSummary
-
Method Summary
Modifier and TypeMethodDescriptionappliedWeights
(Map<String, Float> appliedWeights) A collection of key-value pairs that indicate whether resources are active in Availability Zones or not.The Amazon Resource Name (ARN) for the managed resource.autoshifts
(Collection<AutoshiftInResource> autoshifts) An array of the autoshifts that have been completed for a resource.autoshifts
(Consumer<AutoshiftInResource.Builder>... autoshifts) An array of the autoshifts that have been completed for a resource.autoshifts
(AutoshiftInResource... autoshifts) An array of the autoshifts that have been completed for a resource.availabilityZones
(String... availabilityZones) The Availability Zones that a resource is deployed in.availabilityZones
(Collection<String> availabilityZones) The Availability Zones that a resource is deployed in.The name of the managed resource.practiceRunStatus
(String practiceRunStatus) This status tracks whether a practice run configuration exists for a resource.practiceRunStatus
(ZonalAutoshiftStatus practiceRunStatus) This status tracks whether a practice run configuration exists for a resource.zonalAutoshiftStatus
(String zonalAutoshiftStatus) The status of autoshift for a resource.zonalAutoshiftStatus
(ZonalAutoshiftStatus zonalAutoshiftStatus) The status of autoshift for a resource.zonalShifts
(Collection<ZonalShiftInResource> zonalShifts) An array of the zonal shifts for a resource.zonalShifts
(Consumer<ZonalShiftInResource.Builder>... zonalShifts) An array of the zonal shifts for a resource.zonalShifts
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
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
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.
-
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.
-
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
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
An array of the zonal shifts for a resource.
This is a convenience method that creates an instance of theZonalShiftInResource.Builder
avoiding the need to create one manually viaZonalShiftInResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tozonalShifts(List<ZonalShiftInResource>)
.- 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:
-
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
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
An array of the autoshifts that have been completed for a resource.
This is a convenience method that creates an instance of theAutoshiftInResource.Builder
avoiding the need to create one manually viaAutoshiftInResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoshifts(List<AutoshiftInResource>)
.- 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:
-
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
ENABLED
orDISABLED
.- 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 toENABLED
orDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
ENABLED
orDISABLED
.- 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 toENABLED
orDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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, ARC sets this value to
ENABLED
. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value toDISABLED
.ARC updates this status; you can't set a practice run status to
ENABLED
orDISABLED
.- 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, ARC sets this value toENABLED
. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value toDISABLED
.ARC updates this status; you can't set a practice run status to
ENABLED
orDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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, ARC sets this value to
ENABLED
. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value toDISABLED
.ARC updates this status; you can't set a practice run status to
ENABLED
orDISABLED
.- 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, ARC sets this value toENABLED
. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value toDISABLED
.ARC updates this status; you can't set a practice run status to
ENABLED
orDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-