Interface GetManagedResourceResponse.Builder
-
- All Superinterfaces:
ArcZonalShiftResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedResourceResponse.Builder,GetManagedResourceResponse>,SdkBuilder<GetManagedResourceResponse.Builder,GetManagedResourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetManagedResourceResponse
public static interface GetManagedResourceResponse.Builder extends ArcZonalShiftResponse.Builder, SdkPojo, CopyableBuilder<GetManagedResourceResponse.Builder,GetManagedResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetManagedResourceResponse.BuilderappliedWeights(Map<String,Float> appliedWeights)A collection of key-value pairs that indicate whether resources are active in Availability Zones or not.GetManagedResourceResponse.Builderarn(String arn)The Amazon Resource Name (ARN) for the resource.GetManagedResourceResponse.Builderautoshifts(Collection<AutoshiftInResource> autoshifts)An array of the autoshifts that are active for the resource.GetManagedResourceResponse.Builderautoshifts(Consumer<AutoshiftInResource.Builder>... autoshifts)An array of the autoshifts that are active for the resource.GetManagedResourceResponse.Builderautoshifts(AutoshiftInResource... autoshifts)An array of the autoshifts that are active for the resource.GetManagedResourceResponse.Buildername(String name)The name of the resource.default GetManagedResourceResponse.BuilderpracticeRunConfiguration(Consumer<PracticeRunConfiguration.Builder> practiceRunConfiguration)The practice run configuration for zonal autoshift that's associated with the resource.GetManagedResourceResponse.BuilderpracticeRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)The practice run configuration for zonal autoshift that's associated with the resource.GetManagedResourceResponse.BuilderzonalAutoshiftStatus(String zonalAutoshiftStatus)The status for zonal autoshift for a resource.GetManagedResourceResponse.BuilderzonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)The status for zonal autoshift for a resource.GetManagedResourceResponse.BuilderzonalShifts(Collection<ZonalShiftInResource> zonalShifts)The zonal shifts that are currently active for a resource.GetManagedResourceResponse.BuilderzonalShifts(Consumer<ZonalShiftInResource.Builder>... zonalShifts)The zonal shifts that are currently active for a resource.GetManagedResourceResponse.BuilderzonalShifts(ZonalShiftInResource... zonalShifts)The zonal shifts that are currently active for a resource.-
Methods inherited from interface software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
appliedWeights
GetManagedResourceResponse.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
GetManagedResourceResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) for the resource.
- Parameters:
arn- The Amazon Resource Name (ARN) for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoshifts
GetManagedResourceResponse.Builder autoshifts(Collection<AutoshiftInResource> autoshifts)
An array of the autoshifts that are active for the resource.
- Parameters:
autoshifts- An array of the autoshifts that are active for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoshifts
GetManagedResourceResponse.Builder autoshifts(AutoshiftInResource... autoshifts)
An array of the autoshifts that are active for the resource.
- Parameters:
autoshifts- An array of the autoshifts that are active for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoshifts
GetManagedResourceResponse.Builder autoshifts(Consumer<AutoshiftInResource.Builder>... autoshifts)
An array of the autoshifts that are active for the 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)
-
name
GetManagedResourceResponse.Builder name(String name)
The name of the resource.
- Parameters:
name- The name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
practiceRunConfiguration
GetManagedResourceResponse.Builder practiceRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)
The practice run configuration for zonal autoshift that's associated with the resource.
- Parameters:
practiceRunConfiguration- The practice run configuration for zonal autoshift that's associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
practiceRunConfiguration
default GetManagedResourceResponse.Builder practiceRunConfiguration(Consumer<PracticeRunConfiguration.Builder> practiceRunConfiguration)
The practice run configuration for zonal autoshift that's associated with the resource.
This is a convenience method that creates an instance of thePracticeRunConfiguration.Builderavoiding the need to create one manually viaPracticeRunConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topracticeRunConfiguration(PracticeRunConfiguration).- Parameters:
practiceRunConfiguration- a consumer that will call methods onPracticeRunConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
practiceRunConfiguration(PracticeRunConfiguration)
-
zonalAutoshiftStatus
GetManagedResourceResponse.Builder zonalAutoshiftStatus(String zonalAutoshiftStatus)
The status for zonal autoshift for a resource. When the autoshift status is
ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.- Parameters:
zonalAutoshiftStatus- The status for zonal autoshift for a resource. When the autoshift status isENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZonalAutoshiftStatus,ZonalAutoshiftStatus
-
zonalAutoshiftStatus
GetManagedResourceResponse.Builder zonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)
The status for zonal autoshift for a resource. When the autoshift status is
ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.- Parameters:
zonalAutoshiftStatus- The status for zonal autoshift for a resource. When the autoshift status isENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZonalAutoshiftStatus,ZonalAutoshiftStatus
-
zonalShifts
GetManagedResourceResponse.Builder zonalShifts(Collection<ZonalShiftInResource> zonalShifts)
The zonal shifts that are currently active for a resource.
- Parameters:
zonalShifts- The zonal shifts that are currently active for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zonalShifts
GetManagedResourceResponse.Builder zonalShifts(ZonalShiftInResource... zonalShifts)
The zonal shifts that are currently active for a resource.
- Parameters:
zonalShifts- The zonal shifts that are currently active for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zonalShifts
GetManagedResourceResponse.Builder zonalShifts(Consumer<ZonalShiftInResource.Builder>... zonalShifts)
The zonal shifts that are currently active 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)
-
-