Interface ListGatewaysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewaysResponse.Builder,,ListGatewaysResponse> SdkBuilder<ListGatewaysResponse.Builder,,ListGatewaysResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
ListGatewaysResponse
public static interface ListGatewaysResponse.Builder
extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongateways(Collection<GatewayInfo> gateways) An array of GatewayInfo objects.gateways(Consumer<GatewayInfo.Builder>... gateways) An array of GatewayInfo objects.gateways(GatewayInfo... gateways) An array of GatewayInfo objects.Use the marker in your next request to fetch the next set of gateways in the list.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
gateways
An array of GatewayInfo objects.
- Parameters:
gateways- An array of GatewayInfo objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
An array of GatewayInfo objects.
- Parameters:
gateways- An array of GatewayInfo objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
An array of GatewayInfo objects.
This is a convenience method that creates an instance of theGatewayInfo.Builderavoiding the need to create one manually viaGatewayInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togateways(List<GatewayInfo>).- Parameters:
gateways- a consumer that will call methods onGatewayInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-