Class CreateGatewayVirtualConnectionOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayVirtualConnectionOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateGatewayVirtualConnectionOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createGatewayVirtualConnection options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateGatewayVirtualConnectionOptions.Builder
Builder.static interface
CreateGatewayVirtualConnectionOptions.Type
The type of virtual connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
gatewayId()
Gets the gatewayId.String
name()
Gets the name.String
networkId()
Gets the networkId.CreateGatewayVirtualConnectionOptions.Builder
newBuilder()
New builder.String
type()
Gets the type.
-
-
-
Method Detail
-
newBuilder
public CreateGatewayVirtualConnectionOptions.Builder newBuilder()
New builder.- Returns:
- a CreateGatewayVirtualConnectionOptions builder
-
gatewayId
public String gatewayId()
Gets the gatewayId. Direct Link gateway identifier.- Returns:
- the gatewayId
-
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
-
type
public String type()
Gets the type. The type of virtual connection.- Returns:
- the type
-
networkId
public String networkId()
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
-
-