Class GatewayVirtualConnection
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayVirtualConnection
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GatewayVirtualConnection extends com.ibm.cloud.sdk.core.service.model.GenericModel
Virtual connection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GatewayVirtualConnection.Status
Status of the virtual connection.static interface
GatewayVirtualConnection.Type
Virtual connection type.
-
Constructor Summary
Constructors Constructor Description GatewayVirtualConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getId()
Gets the id.String
getName()
Gets the name.String
getNetworkAccount()
Gets the networkAccount.String
getNetworkId()
Gets the networkId.String
getStatus()
Gets the status.String
getType()
Gets the type.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time resource was created.- Returns:
- the createdAt
-
getId
public String getId()
Gets the id. The unique identifier for this virtual connection.- Returns:
- the id
-
getName
public String getName()
Gets the name. The user-defined name for this virtual connection. Virtual connection names are unique within a gateway. This is the name of the virtual connection itself, the network being connected may have its own name attribute.- Returns:
- the name
-
getNetworkAccount
public String getNetworkAccount()
Gets the networkAccount. For virtual connections across two different IBM Cloud Accounts network_account indicates the account that owns the target network.- Returns:
- the networkAccount
-
getNetworkId
public String getNetworkId()
Gets the networkId. Unique identifier of the target network. For type=vpc virtual connections this is the CRN of the target VPC. This field does not apply to type=classic connections.- Returns:
- the networkId
-
getStatus
public String getStatus()
Gets the status. Status of the virtual connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the status
-
getType
public String getType()
Gets the type. Virtual connection type. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the type
-
-