Interface GetManagedResourceResponse.Builder
- All Superinterfaces:
ArcZonalShiftResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedResourceResponse.Builder,,GetManagedResourceResponse> SdkBuilder<GetManagedResourceResponse.Builder,,GetManagedResourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetManagedResourceResponse
-
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 resource.autoshifts(Collection<AutoshiftInResource> autoshifts) An array of the autoshifts that are active for the resource.autoshifts(Consumer<AutoshiftInResource.Builder>... autoshifts) An array of the autoshifts that are active for the resource.autoshifts(AutoshiftInResource... autoshifts) An array of the autoshifts that are active for the resource.The name of the resource.practiceRunConfiguration(Consumer<PracticeRunConfiguration.Builder> practiceRunConfiguration) The practice run configuration for zonal autoshift that's associated with the resource.practiceRunConfiguration(PracticeRunConfiguration practiceRunConfiguration) The practice run configuration for zonal autoshift that's associated with the resource.zonalAutoshiftStatus(String zonalAutoshiftStatus) The status for zonal autoshift for a resource.zonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus) The status for zonal autoshift for a resource.zonalShifts(Collection<ZonalShiftInResource> zonalShifts) The zonal shifts that are currently active for a resource.zonalShifts(Consumer<ZonalShiftInResource.Builder>... zonalShifts) The zonal shifts that are currently active for a resource.zonalShifts(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, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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 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:
-
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:
-
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
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:
-
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
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 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:
-