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.GenericModelShareMountTarget.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShareMountTarget.AccessControlModeThe 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 interfaceShareMountTarget.LifecycleStateThe lifecycle state of the mount target.static interfaceShareMountTarget.ResourceTypeThe resource type.static interfaceShareMountTarget.TransitEncryptionThe 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 will expand in the future.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessControlMode()Gets the accessControlMode.DategetCreatedAt()Gets the createdAt.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetLifecycleState()Gets the lifecycleState.StringgetMountPath()Gets the mountPath.StringgetName()Gets the name.ReservedIPReferencegetPrimaryIp()Gets the primaryIp.StringgetResourceType()Gets the resourceType.SubnetReferencegetSubnet()Gets the subnet.StringgetTransitEncryption()Gets the transitEncryption.VirtualNetworkInterfaceReferenceAttachmentContextgetVirtualNetworkInterface()Gets the virtualNetworkInterface.VPCReferencegetVpc()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 access control mode values for this property may expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected access control mode was encountered.- 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 will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.- 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
-
-