Class InstanceNetworkAttachment

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceNetworkAttachment
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceNetworkAttachment extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceNetworkAttachment.
  • Method Details

    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that the instance network attachment was created.
      Returns:
      the createdAt
    • getHref

      public String getHref()
      Gets the href. The URL for this instance network attachment.
      Returns:
      the href
    • getId

      public String getId()
      Gets the id. The unique identifier for this instance network attachment.
      Returns:
      the id
    • getLifecycleState

      public String getLifecycleState()
      Gets the lifecycleState. The lifecycle state of the instance network attachment.
      Returns:
      the lifecycleState
    • getName

      public String getName()
      Gets the name. The name for this instance network attachment. The name is unique across all network attachments for the instance.
      Returns:
      the name
    • getPortSpeed

      public Long getPortSpeed()
      Gets the portSpeed. The port speed for this instance network attachment in Mbps.
      Returns:
      the portSpeed
    • getPrimaryIp

      public ReservedIPReference getPrimaryIp()
      Gets the primaryIp. The primary IP address of the virtual network interface for the instance network attachment.
      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 instance network attachment.
      Returns:
      the subnet
    • getType

      public String getType()
      Gets the type. The instance network attachment type.
      Returns:
      the type
    • getVirtualNetworkInterface

      public VirtualNetworkInterfaceReferenceAttachmentContext getVirtualNetworkInterface()
      Gets the virtualNetworkInterface. The virtual network interface for this instance network attachment.
      Returns:
      the virtualNetworkInterface