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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidVolumeOptions.Builderstorage(Collection<ValidStorageOptions> storage)The valid storage options for the additional storage volume.ValidVolumeOptions.Builderstorage(Consumer<ValidStorageOptions.Builder>... storage)The valid storage options for the additional storage volume.ValidVolumeOptions.Builderstorage(ValidStorageOptions... storage)The valid storage options for the additional storage volume.ValidVolumeOptions.BuildervolumeName(String volumeName)The name of the additional storage volume.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
volumeName
ValidVolumeOptions.Builder volumeName(String 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
ValidVolumeOptions.Builder storage(Collection<ValidStorageOptions> 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
ValidVolumeOptions.Builder storage(ValidStorageOptions... 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
ValidVolumeOptions.Builder storage(Consumer<ValidStorageOptions.Builder>... 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 to#storage(List.) - 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:
#storage(java.util.Collection)
-
-