Interface ValidVolumeOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidVolumeOptions.Builder,,ValidVolumeOptions> SdkBuilder<ValidVolumeOptions.Builder,,ValidVolumeOptions> SdkPojo
- Enclosing class:
ValidVolumeOptions
@Mutable
@NotThreadSafe
public static interface ValidVolumeOptions.Builder
extends SdkPojo, CopyableBuilder<ValidVolumeOptions.Builder,ValidVolumeOptions>
-
Method Summary
Modifier and TypeMethodDescriptionstorage(Collection<ValidStorageOptions> storage) The valid storage options for the additional storage volume.storage(Consumer<ValidStorageOptions.Builder>... storage) The valid storage options for the additional storage volume.storage(ValidStorageOptions... storage) The valid storage options for the additional storage volume.volumeName(String volumeName) The name of the additional storage volume.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, sdkFieldNameToField, sdkFields
-
Method Details
-
volumeName
The name of the additional storage volume.
- Parameters:
volumeName- The name of the additional storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
The valid storage options for the additional storage volume.
- Parameters:
storage- The valid storage options for the additional storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
The valid storage options for the additional storage volume.
- Parameters:
storage- The valid storage options for the additional storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
The valid storage options for the additional storage volume.
This is a convenience method that creates an instance of theValidStorageOptions.Builderavoiding the need to create one manually viaValidStorageOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorage(List<ValidStorageOptions>).- Parameters:
storage- a consumer that will call methods onValidStorageOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-