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
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.The name of the 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.
-
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.
-
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:
-