public static interface GetManagedResourceResponse.Builder extends ArcZonalShiftResponse.Builder, SdkPojo, CopyableBuilder<GetManagedResourceResponse.Builder,GetManagedResourceResponse>
| Modifier and Type | Method and Description |
|---|---|
GetManagedResourceResponse.Builder |
appliedWeights(Map<String,Float> appliedWeights)
A collection of key-value pairs that indicate whether resources are active in Availability Zones or not.
|
GetManagedResourceResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the resource.
|
GetManagedResourceResponse.Builder |
name(String name)
The name of the resource.
|
GetManagedResourceResponse.Builder |
zonalShifts(Collection<ZonalShiftInResource> zonalShifts)
The zonal shifts that are currently active for a resource.
|
GetManagedResourceResponse.Builder |
zonalShifts(Consumer<ZonalShiftInResource.Builder>... zonalShifts)
The zonal shifts that are currently active for a resource.
|
GetManagedResourceResponse.Builder |
zonalShifts(ZonalShiftInResource... zonalShifts)
The zonal shifts that are currently active for a resource.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetManagedResourceResponse.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.
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.GetManagedResourceResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) for the resource.
arn - The Amazon Resource Name (ARN) for the resource.GetManagedResourceResponse.Builder name(String name)
The name of the resource.
name - The name of the resource.GetManagedResourceResponse.Builder zonalShifts(Collection<ZonalShiftInResource> zonalShifts)
The zonal shifts that are currently active for a resource.
zonalShifts - The zonal shifts that are currently active for a resource.GetManagedResourceResponse.Builder zonalShifts(ZonalShiftInResource... zonalShifts)
The zonal shifts that are currently active for a resource.
zonalShifts - The zonal shifts that are currently active for a resource.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.Builder avoiding the need to
create one manually via
ZonalShiftInResource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #zonalShifts(List.
zonalShifts - a consumer that will call methods on
ZonalShiftInResource.Builder#zonalShifts(java.util.Collection) Copyright © 2023. All rights reserved.