Package com.oracle.bmc.batch.model
Class NfsVolume
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.batch.model.BatchTaskEnvironmentVolume
-
- com.oracle.bmc.batch.model.NfsVolume
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251031") public final class NfsVolume extends BatchTaskEnvironmentVolumeA description of a NFS type of batch task environment volume.
Note: Objects should always be created or deserialized using theNfsVolume.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 theNfsVolume.Builder, which maintain a set of all explicitly set fields calledNfsVolume.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 Summary
Nested Classes Modifier and Type Class Description static classNfsVolume.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.batch.model.BatchTaskEnvironmentVolume
BatchTaskEnvironmentVolume.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NfsVolume.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetLocalMountDirectoryPath()The local path to mount the NFS share to.StringgetMountTargetExportPath()The path to the directory on the NFS server to be mounted.StringgetMountTargetFqdn()The FQDN of the NFS server to connect to.StringgetName()The name of the NfsVolume.inthashCode()NfsVolume.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
NfsVolume
@Deprecated public NfsVolume(String name, String mountTargetFqdn, String mountTargetExportPath, String localMountDirectoryPath)
Deprecated.
-
-
Method Detail
-
builder
public static NfsVolume.Builder builder()
Create a new builder.
-
toBuilder
public NfsVolume.Builder toBuilder()
-
getName
public String getName()
The name of the NfsVolume.- Returns:
- the value
-
getMountTargetFqdn
public String getMountTargetFqdn()
The FQDN of the NFS server to connect to.- Returns:
- the value
-
getMountTargetExportPath
public String getMountTargetExportPath()
The path to the directory on the NFS server to be mounted.- Returns:
- the value
-
getLocalMountDirectoryPath
public String getLocalMountDirectoryPath()
The local path to mount the NFS share to.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classBatchTaskEnvironmentVolume
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classBatchTaskEnvironmentVolume- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBatchTaskEnvironmentVolume
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBatchTaskEnvironmentVolume
-
-