public static interface ListGatewaysResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>
| Modifier and Type | Method and Description |
|---|---|
ListGatewaysResponse.Builder |
gateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.
|
ListGatewaysResponse.Builder |
gateways(Consumer<GatewayInfo.Builder>... gateways)
An array of GatewayInfo objects.
|
ListGatewaysResponse.Builder |
gateways(GatewayInfo... gateways)
An array of GatewayInfo objects.
|
ListGatewaysResponse.Builder |
marker(String marker)
Use the marker in your next request to fetch the next set of gateways in the list.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListGatewaysResponse.Builder gateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.
gateways - An array of GatewayInfo objects.ListGatewaysResponse.Builder gateways(GatewayInfo... gateways)
An array of GatewayInfo objects.
gateways - An array of GatewayInfo objects.ListGatewaysResponse.Builder gateways(Consumer<GatewayInfo.Builder>... gateways)
An array of GatewayInfo objects.
This is a convenience method that creates an instance of theGatewayInfo.Builder avoiding the need to create
one manually via GatewayInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #gateways(List.
gateways - a consumer that will call methods on
GatewayInfo.Builder#gateways(java.util.Collection) ListGatewaysResponse.Builder marker(String marker)
Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.
marker - Use the marker in your next request to fetch the next set of gateways in the list. If there are no
more gateways to list, this field does not appear in the response.Copyright © 2022. All rights reserved.