Package com.ibm.cloud.is.vpc.v1.model
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceNetworkAttachment.LifecycleState
The lifecycle state of the instance network attachment.static interface
InstanceNetworkAttachment.ResourceType
The resource type.static interface
InstanceNetworkAttachment.Type
The instance network attachment type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.Long
getPortSpeed()
Gets the portSpeed.ReservedIPReference
getPrimaryIp()
Gets the primaryIp.String
getResourceType()
Gets the resourceType.SubnetReference
getSubnet()
Gets the subnet.String
getType()
Gets the type.VirtualNetworkInterfaceReferenceAttachmentContext
getVirtualNetworkInterface()
Gets the virtualNetworkInterface.
-
-
-
Method Detail
-
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
-
-