Class UpdateGatewayVirtualConnectionOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.UpdateGatewayVirtualConnectionOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateGatewayVirtualConnectionOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateGatewayVirtualConnection options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateGatewayVirtualConnectionOptions.Builder
Builder.static interface
UpdateGatewayVirtualConnectionOptions.Status
Status of the virtual connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
gatewayId()
Gets the gatewayId.String
id()
Gets the id.String
name()
Gets the name.UpdateGatewayVirtualConnectionOptions.Builder
newBuilder()
New builder.String
status()
Gets the status.
-
-
-
Method Detail
-
newBuilder
public UpdateGatewayVirtualConnectionOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateGatewayVirtualConnectionOptions builder
-
gatewayId
public String gatewayId()
Gets the gatewayId. Direct Link gateway identifier.- Returns:
- the gatewayId
-
id
public String id()
Gets the id. The virtual connection identifier.- Returns:
- the id
-
name
public String name()
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
-
status
public String status()
Gets the status. Status of the virtual connection. Virtual connections that span IBM Cloud Accounts are created in approval_pending status. The owner of the target network can accept or reject connection requests by patching status to attached or rejected respectively.- Returns:
- the status
-
-