public class MountTargetDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This object provides description of a mount target.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fileSystemId
The ID of the file system for which the mount target is intended.
|
private java.lang.String |
ipAddress
The address at which the file system may be mounted via the mount target.
|
private java.lang.String |
lifeCycleState
The lifecycle state the mount target is in.
|
private java.lang.String |
mountTargetId
The system-assigned mount target ID.
|
private java.lang.String |
networkInterfaceId
The ID of the network interface that Amazon EFS created when it created
the mount target.
|
private java.lang.String |
ownerId
The AWS account ID that owns the resource.
|
private java.lang.String |
subnetId
The ID of the subnet that the mount target is in.
|
Constructor and Description |
---|
MountTargetDescription() |
Modifier and Type | Method and Description |
---|---|
MountTargetDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFileSystemId()
The ID of the file system for which the mount target is intended.
|
java.lang.String |
getIpAddress()
The address at which the file system may be mounted via the mount target.
|
java.lang.String |
getLifeCycleState()
The lifecycle state the mount target is in.
|
java.lang.String |
getMountTargetId()
The system-assigned mount target ID.
|
java.lang.String |
getNetworkInterfaceId()
The ID of the network interface that Amazon EFS created when it created
the mount target.
|
java.lang.String |
getOwnerId()
The AWS account ID that owns the resource.
|
java.lang.String |
getSubnetId()
The ID of the subnet that the mount target is in.
|
int |
hashCode() |
void |
setFileSystemId(java.lang.String fileSystemId)
The ID of the file system for which the mount target is intended.
|
void |
setIpAddress(java.lang.String ipAddress)
The address at which the file system may be mounted via the mount target.
|
void |
setLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.
|
void |
setLifeCycleState(java.lang.String lifeCycleState)
The lifecycle state the mount target is in.
|
void |
setMountTargetId(java.lang.String mountTargetId)
The system-assigned mount target ID.
|
void |
setNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created
the mount target.
|
void |
setOwnerId(java.lang.String ownerId)
The AWS account ID that owns the resource.
|
void |
setSubnetId(java.lang.String subnetId)
The ID of the subnet that the mount target is in.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MountTargetDescription |
withFileSystemId(java.lang.String fileSystemId)
The ID of the file system for which the mount target is intended.
|
MountTargetDescription |
withIpAddress(java.lang.String ipAddress)
The address at which the file system may be mounted via the mount target.
|
MountTargetDescription |
withLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.
|
MountTargetDescription |
withLifeCycleState(java.lang.String lifeCycleState)
The lifecycle state the mount target is in.
|
MountTargetDescription |
withMountTargetId(java.lang.String mountTargetId)
The system-assigned mount target ID.
|
MountTargetDescription |
withNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created
the mount target.
|
MountTargetDescription |
withOwnerId(java.lang.String ownerId)
The AWS account ID that owns the resource.
|
MountTargetDescription |
withSubnetId(java.lang.String subnetId)
The ID of the subnet that the mount target is in.
|
private java.lang.String ownerId
The AWS account ID that owns the resource.
private java.lang.String mountTargetId
The system-assigned mount target ID.
private java.lang.String fileSystemId
The ID of the file system for which the mount target is intended.
private java.lang.String subnetId
The ID of the subnet that the mount target is in.
private java.lang.String lifeCycleState
The lifecycle state the mount target is in.
private java.lang.String ipAddress
The address at which the file system may be mounted via the mount target.
private java.lang.String networkInterfaceId
The ID of the network interface that Amazon EFS created when it created the mount target.
public void setOwnerId(java.lang.String ownerId)
The AWS account ID that owns the resource.
ownerId
- The AWS account ID that owns the resource.public java.lang.String getOwnerId()
The AWS account ID that owns the resource.
public MountTargetDescription withOwnerId(java.lang.String ownerId)
The AWS account ID that owns the resource.
ownerId
- The AWS account ID that owns the resource.public void setMountTargetId(java.lang.String mountTargetId)
The system-assigned mount target ID.
mountTargetId
- The system-assigned mount target ID.public java.lang.String getMountTargetId()
The system-assigned mount target ID.
public MountTargetDescription withMountTargetId(java.lang.String mountTargetId)
The system-assigned mount target ID.
mountTargetId
- The system-assigned mount target ID.public void setFileSystemId(java.lang.String fileSystemId)
The ID of the file system for which the mount target is intended.
fileSystemId
- The ID of the file system for which the mount target is intended.public java.lang.String getFileSystemId()
The ID of the file system for which the mount target is intended.
public MountTargetDescription withFileSystemId(java.lang.String fileSystemId)
The ID of the file system for which the mount target is intended.
fileSystemId
- The ID of the file system for which the mount target is intended.public void setSubnetId(java.lang.String subnetId)
The ID of the subnet that the mount target is in.
subnetId
- The ID of the subnet that the mount target is in.public java.lang.String getSubnetId()
The ID of the subnet that the mount target is in.
public MountTargetDescription withSubnetId(java.lang.String subnetId)
The ID of the subnet that the mount target is in.
subnetId
- The ID of the subnet that the mount target is in.public void setLifeCycleState(java.lang.String lifeCycleState)
The lifecycle state the mount target is in.
lifeCycleState
- The lifecycle state the mount target is in.LifeCycleState
public java.lang.String getLifeCycleState()
The lifecycle state the mount target is in.
LifeCycleState
public MountTargetDescription withLifeCycleState(java.lang.String lifeCycleState)
The lifecycle state the mount target is in.
lifeCycleState
- The lifecycle state the mount target is in.LifeCycleState
public void setLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.
lifeCycleState
- The lifecycle state the mount target is in.LifeCycleState
public MountTargetDescription withLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.
lifeCycleState
- The lifecycle state the mount target is in.LifeCycleState
public void setIpAddress(java.lang.String ipAddress)
The address at which the file system may be mounted via the mount target.
ipAddress
- The address at which the file system may be mounted via the mount
target.public java.lang.String getIpAddress()
The address at which the file system may be mounted via the mount target.
public MountTargetDescription withIpAddress(java.lang.String ipAddress)
The address at which the file system may be mounted via the mount target.
ipAddress
- The address at which the file system may be mounted via the mount
target.public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created the mount target.
networkInterfaceId
- The ID of the network interface that Amazon EFS created when it
created the mount target.public java.lang.String getNetworkInterfaceId()
The ID of the network interface that Amazon EFS created when it created the mount target.
public MountTargetDescription withNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created the mount target.
networkInterfaceId
- The ID of the network interface that Amazon EFS created when it
created the mount target.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MountTargetDescription clone()
clone
in class java.lang.Object