public static interface ListGatewaysResponse.Builder extends StorageGatewayResponse.Builder, CopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>
| Modifier and Type | Method and Description |
|---|---|
ListGatewaysResponse.Builder |
gateways(Collection<GatewayInfo> gateways)
Sets the value of the Gateways property for this object.
|
ListGatewaysResponse.Builder |
gateways(Consumer<GatewayInfo.Builder>... gateways)
Sets the value of the Gateways property for this object.
|
ListGatewaysResponse.Builder |
gateways(GatewayInfo... gateways)
Sets the value of the Gateways property for this object.
|
ListGatewaysResponse.Builder |
marker(String marker)
Sets the value of the Marker property for this object.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildListGatewaysResponse.Builder gateways(Collection<GatewayInfo> gateways)
gateways - The new value for the Gateways property for this object.ListGatewaysResponse.Builder gateways(GatewayInfo... gateways)
gateways - The new value for the Gateways property for this object.ListGatewaysResponse.Builder gateways(Consumer<GatewayInfo.Builder>... gateways)
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #gateways(List) .gateways - a consumer that will call methods on List.Builder #gateways(List) ListGatewaysResponse.Builder marker(String marker)
marker - The new value for the Marker property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.