Class CreateGatewayVirtualConnectionOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayVirtualConnectionOptions.Builder
-
- Enclosing class:
- CreateGatewayVirtualConnectionOptions
public static class CreateGatewayVirtualConnectionOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateGatewayVirtualConnectionOptions
build()
Builds a CreateGatewayVirtualConnectionOptions.CreateGatewayVirtualConnectionOptions.Builder
gatewayId(String gatewayId)
Set the gatewayId.CreateGatewayVirtualConnectionOptions.Builder
name(String name)
Set the name.CreateGatewayVirtualConnectionOptions.Builder
networkId(String networkId)
Set the networkId.CreateGatewayVirtualConnectionOptions.Builder
type(String type)
Set the type.
-
-
-
Method Detail
-
build
public CreateGatewayVirtualConnectionOptions build()
Builds a CreateGatewayVirtualConnectionOptions.- Returns:
- the new CreateGatewayVirtualConnectionOptions instance
-
gatewayId
public CreateGatewayVirtualConnectionOptions.Builder gatewayId(String gatewayId)
Set the gatewayId.- Parameters:
gatewayId
- the gatewayId- Returns:
- the CreateGatewayVirtualConnectionOptions builder
-
name
public CreateGatewayVirtualConnectionOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateGatewayVirtualConnectionOptions builder
-
type
public CreateGatewayVirtualConnectionOptions.Builder type(String type)
Set the type.- Parameters:
type
- the type- Returns:
- the CreateGatewayVirtualConnectionOptions builder
-
networkId
public CreateGatewayVirtualConnectionOptions.Builder networkId(String networkId)
Set the networkId.- Parameters:
networkId
- the networkId- Returns:
- the CreateGatewayVirtualConnectionOptions builder
-
-