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.GenericModelInstanceNetworkAttachment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceNetworkAttachment.LifecycleStateThe lifecycle state of the instance network attachment.static interfaceInstanceNetworkAttachment.ResourceTypeThe resource type.static interfaceInstanceNetworkAttachment.TypeThe instance network attachment type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetLifecycleState()Gets the lifecycleState.StringgetName()Gets the name.LonggetPortSpeed()Gets the portSpeed.ReservedIPReferencegetPrimaryIp()Gets the primaryIp.StringgetResourceType()Gets the resourceType.SubnetReferencegetSubnet()Gets the subnet.StringgetType()Gets the type.VirtualNetworkInterfaceReferenceAttachmentContextgetVirtualNetworkInterface()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
-
-