Class CreateVolumeMountDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.containerinstances.model.CreateVolumeMountDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210415") public final class CreateVolumeMountDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDefines the mapping from volume to a mount path in a container.
 Note: Objects should always be created or deserialized using theCreateVolumeMountDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateVolumeMountDetails.Builder, which maintain a set of all explicitly set fields calledCreateVolumeMountDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCreateVolumeMountDetails.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateVolumeMountDetails.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsReadOnly()Whether the volume was mounted in read-only mode.StringgetMountPath()The volume access path.IntegergetPartition()If there is more than one partition in the volume, reference this number of partitions.StringgetSubPath()A subpath inside the referenced volume.StringgetVolumeName()The name of the volume.inthashCode()CreateVolumeMountDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CreateVolumeMountDetails@Deprecated @ConstructorProperties({"mountPath","volumeName","subPath","isReadOnly","partition"}) public CreateVolumeMountDetails(String mountPath, String volumeName, String subPath, Boolean isReadOnly, Integer partition) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateVolumeMountDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateVolumeMountDetails.Builder toBuilder() 
 - 
getMountPathpublic String getMountPath() The volume access path.- Returns:
- the value
 
 - 
getVolumeNamepublic String getVolumeName() The name of the volume.Avoid entering confidential information. - Returns:
- the value
 
 - 
getSubPathpublic String getSubPath() A subpath inside the referenced volume.- Returns:
- the value
 
 - 
getIsReadOnlypublic Boolean getIsReadOnly() Whether the volume was mounted in read-only mode.By default, the volume is not read-only. - Returns:
- the value
 
 - 
getPartitionpublic Integer getPartition() If there is more than one partition in the volume, reference this number of partitions.Here is an example: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp 2 106MB 1180MB 1074MB xfs 3 1180MB 50.0GB 48.8GB lvm - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-