Class Volume
- java.lang.Object
-
- software.amazon.awssdk.services.finspace.model.Volume
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Volume.Builder,Volume>
@Generated("software.amazon.awssdk:codegen") public final class Volume extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Volume.Builder,Volume>
The structure that consists of name and type of volume.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVolume.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Volume.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Volume.Builder>serializableBuilderClass()Volume.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvolumeName()A unique identifier for the volume.VolumeTypevolumeType()The type of file system volume.StringvolumeTypeAsString()The type of file system volume.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
volumeName
public final String volumeName()
A unique identifier for the volume.
- Returns:
- A unique identifier for the volume.
-
volumeType
public final VolumeType volumeType()
The type of file system volume. Currently, FinSpace only supports
NAS_1volume type.If the service returns an enum value that is not available in the current SDK version,
volumeTypewill returnVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeTypeAsString().- Returns:
- The type of file system volume. Currently, FinSpace only supports
NAS_1volume type. - See Also:
VolumeType
-
volumeTypeAsString
public final String volumeTypeAsString()
The type of file system volume. Currently, FinSpace only supports
NAS_1volume type.If the service returns an enum value that is not available in the current SDK version,
volumeTypewill returnVolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeTypeAsString().- Returns:
- The type of file system volume. Currently, FinSpace only supports
NAS_1volume type. - See Also:
VolumeType
-
toBuilder
public Volume.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Volume.Builder,Volume>
-
builder
public static Volume.Builder builder()
-
serializableBuilderClass
public static Class<? extends Volume.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-