Interface ListLocalDisksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLocalDisksResponse.Builder,,ListLocalDisksResponse> SdkBuilder<ListLocalDisksResponse.Builder,,ListLocalDisksResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
ListLocalDisksResponse
public static interface ListLocalDisksResponse.Builder
extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListLocalDisksResponse.Builder,ListLocalDisksResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondisks(Collection<Disk> disks) A JSON object containing the following fields:disks(Consumer<Disk.Builder>... disks) A JSON object containing the following fields:A JSON object containing the following fields:gatewayARN(String gatewayARN) Sets the value of the GatewayARN property for this object.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
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
A JSON object containing the following fields:
- Parameters:
disks- A JSON object containing the following fields:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
A JSON object containing the following fields:
- Parameters:
disks- A JSON object containing the following fields:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
A JSON object containing the following fields:
This is a convenience method that creates an instance of theDisk.Builderavoiding the need to create one manually viaDisk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisks(List<Disk>).- Parameters:
disks- a consumer that will call methods onDisk.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-