Package com.ibm.cloud.is.vpc.v1.model
Class ShareMountTarget
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ShareMountTarget
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ShareMountTarget extends com.ibm.cloud.sdk.core.service.model.GenericModel
ShareMountTarget.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ShareMountTarget.AccessControlMode
The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target.static interface
ShareMountTarget.LifecycleState
The lifecycle state of the mount target.static interface
ShareMountTarget.ResourceType
The resource type.static interface
ShareMountTarget.TransitEncryption
The transit encryption mode for this share mount target: - `none`: Not encrypted in transit - `user_managed`: Encrypted in transit using an instance identity certificate The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessControlMode()
Gets the accessControlMode.Date
getCreatedAt()
Gets the createdAt.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getMountPath()
Gets the mountPath.String
getName()
Gets the name.ReservedIPReference
getPrimaryIp()
Gets the primaryIp.String
getResourceType()
Gets the resourceType.SubnetReference
getSubnet()
Gets the subnet.String
getTransitEncryption()
Gets the transitEncryption.VirtualNetworkInterfaceReferenceAttachmentContext
getVirtualNetworkInterface()
Gets the virtualNetworkInterface.VPCReference
getVpc()
Gets the vpc.
-
-
-
Method Detail
-
getAccessControlMode
public String getAccessControlMode()
Gets the accessControlMode. The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the accessControlMode
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the share mount target was created.- Returns:
- the createdAt
-
getHref
public String getHref()
Gets the href. The URL for this share mount target.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this share mount target.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the mount target.- Returns:
- the lifecycleState
-
getMountPath
public String getMountPath()
Gets the mountPath. The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name. This property will be absent if the `lifecycle_state` of the mount target is 'pending', `failed`, or `deleting`. If the share's `access_control_mode` is: - `security_group`: The IP address used in the mount path is the `primary_ip` address of the virtual network interface for this share mount target. - `vpc`: The fully-qualified domain name used in the mount path is an address that resolves to the share mount target.- Returns:
- the mountPath
-
getName
public String getName()
Gets the name. The name for this share mount target. The name is unique across all mount targets for the file share.- Returns:
- the name
-
getPrimaryIp
public ReservedIPReference getPrimaryIp()
Gets the primaryIp. The primary IP address of the virtual network interface for the share mount target. Absent if `access_control_mode` is `vpc`.- Returns:
- the primaryIp
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getSubnet
public SubnetReference getSubnet()
Gets the subnet. The subnet of the virtual network interface for the share mount target. Absent if `access_control_mode` is `vpc`.- Returns:
- the subnet
-
getTransitEncryption
public String getTransitEncryption()
Gets the transitEncryption. The transit encryption mode for this share mount target: - `none`: Not encrypted in transit - `user_managed`: Encrypted in transit using an instance identity certificate The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the transitEncryption
-
getVirtualNetworkInterface
public VirtualNetworkInterfaceReferenceAttachmentContext getVirtualNetworkInterface()
Gets the virtualNetworkInterface. The virtual network interface for this file share mount target. This property will be present when the `access_control_mode` is `security_group`.- Returns:
- the virtualNetworkInterface
-
getVpc
public VPCReference getVpc()
Gets the vpc. If `access_control_mode` is: - `security_group`: The VPC for the virtual network interface for this share mount target - `vpc`: The VPC in which clients can mount the file share using this share mount target.- Returns:
- the vpc
-
-