Class CreateMountTargetResult
- java.lang.Object
-
- com.amazonaws.services.elasticfilesystem.model.CreateMountTargetResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateMountTargetResult extends Object implements Serializable, Cloneable
This object provides description of a mount target.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateMountTargetResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateMountTargetResult
clone()
boolean
equals(Object obj)
String
getFileSystemId()
The ID of the file system for which the mount target is intended.String
getIpAddress()
The address at which the file system may be mounted via the mount target.String
getLifeCycleState()
The lifecycle state the mount target is in.String
getMountTargetId()
The system-assigned mount target ID.String
getNetworkInterfaceId()
The ID of the network interface that Amazon EFS created when it created the mount target.String
getOwnerId()
The AWS account ID that owns the resource.String
getSubnetId()
The ID of the subnet that the mount target is in.int
hashCode()
void
setFileSystemId(String fileSystemId)
The ID of the file system for which the mount target is intended.void
setIpAddress(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(String lifeCycleState)
The lifecycle state the mount target is in.void
setMountTargetId(String mountTargetId)
The system-assigned mount target ID.void
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created the mount target.void
setOwnerId(String ownerId)
The AWS account ID that owns the resource.void
setSubnetId(String subnetId)
The ID of the subnet that the mount target is in.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateMountTargetResult
withFileSystemId(String fileSystemId)
The ID of the file system for which the mount target is intended.CreateMountTargetResult
withIpAddress(String ipAddress)
The address at which the file system may be mounted via the mount target.CreateMountTargetResult
withLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.CreateMountTargetResult
withLifeCycleState(String lifeCycleState)
The lifecycle state the mount target is in.CreateMountTargetResult
withMountTargetId(String mountTargetId)
The system-assigned mount target ID.CreateMountTargetResult
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created the mount target.CreateMountTargetResult
withOwnerId(String ownerId)
The AWS account ID that owns the resource.CreateMountTargetResult
withSubnetId(String subnetId)
The ID of the subnet that the mount target is in.
-
-
-
Method Detail
-
setOwnerId
public void setOwnerId(String ownerId)
The AWS account ID that owns the resource.
- Parameters:
ownerId
- The AWS account ID that owns the resource.
-
getOwnerId
public String getOwnerId()
The AWS account ID that owns the resource.
- Returns:
- The AWS account ID that owns the resource.
-
withOwnerId
public CreateMountTargetResult withOwnerId(String ownerId)
The AWS account ID that owns the resource.
- Parameters:
ownerId
- The AWS account ID that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMountTargetId
public void setMountTargetId(String mountTargetId)
The system-assigned mount target ID.
- Parameters:
mountTargetId
- The system-assigned mount target ID.
-
getMountTargetId
public String getMountTargetId()
The system-assigned mount target ID.
- Returns:
- The system-assigned mount target ID.
-
withMountTargetId
public CreateMountTargetResult withMountTargetId(String mountTargetId)
The system-assigned mount target ID.
- Parameters:
mountTargetId
- The system-assigned mount target ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFileSystemId
public void setFileSystemId(String fileSystemId)
The ID of the file system for which the mount target is intended.
- Parameters:
fileSystemId
- The ID of the file system for which the mount target is intended.
-
getFileSystemId
public String getFileSystemId()
The ID of the file system for which the mount target is intended.
- Returns:
- The ID of the file system for which the mount target is intended.
-
withFileSystemId
public CreateMountTargetResult withFileSystemId(String fileSystemId)
The ID of the file system for which the mount target is intended.
- Parameters:
fileSystemId
- The ID of the file system for which the mount target is intended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetId
public void setSubnetId(String subnetId)
The ID of the subnet that the mount target is in.
- Parameters:
subnetId
- The ID of the subnet that the mount target is in.
-
getSubnetId
public String getSubnetId()
The ID of the subnet that the mount target is in.
- Returns:
- The ID of the subnet that the mount target is in.
-
withSubnetId
public CreateMountTargetResult withSubnetId(String subnetId)
The ID of the subnet that the mount target is in.
- Parameters:
subnetId
- The ID of the subnet that the mount target is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLifeCycleState
public void setLifeCycleState(String lifeCycleState)
The lifecycle state the mount target is in.
- Parameters:
lifeCycleState
- The lifecycle state the mount target is in.- See Also:
LifeCycleState
-
getLifeCycleState
public String getLifeCycleState()
The lifecycle state the mount target is in.
- Returns:
- The lifecycle state the mount target is in.
- See Also:
LifeCycleState
-
withLifeCycleState
public CreateMountTargetResult withLifeCycleState(String lifeCycleState)
The lifecycle state the mount target is in.
- Parameters:
lifeCycleState
- The lifecycle state the mount target is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifeCycleState
-
setLifeCycleState
public void setLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.
- Parameters:
lifeCycleState
- The lifecycle state the mount target is in.- See Also:
LifeCycleState
-
withLifeCycleState
public CreateMountTargetResult withLifeCycleState(LifeCycleState lifeCycleState)
The lifecycle state the mount target is in.
- Parameters:
lifeCycleState
- The lifecycle state the mount target is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifeCycleState
-
setIpAddress
public void setIpAddress(String ipAddress)
The address at which the file system may be mounted via the mount target.
- Parameters:
ipAddress
- The address at which the file system may be mounted via the mount target.
-
getIpAddress
public String getIpAddress()
The address at which the file system may be mounted via the mount target.
- Returns:
- The address at which the file system may be mounted via the mount target.
-
withIpAddress
public CreateMountTargetResult withIpAddress(String ipAddress)
The address at which the file system may be mounted via the mount target.
- Parameters:
ipAddress
- The address at which the file system may be mounted via the mount target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created the mount target.
- Parameters:
networkInterfaceId
- The ID of the network interface that Amazon EFS created when it created the mount target.
-
getNetworkInterfaceId
public String getNetworkInterfaceId()
The ID of the network interface that Amazon EFS created when it created the mount target.
- Returns:
- The ID of the network interface that Amazon EFS created when it created the mount target.
-
withNetworkInterfaceId
public CreateMountTargetResult withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface that Amazon EFS created when it created the mount target.
- Parameters:
networkInterfaceId
- The ID of the network interface that Amazon EFS created when it created the mount target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateMountTargetResult clone()
-
-