Class CreateGatewayOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayOptions.Builder
-
- Enclosing class:
- CreateGatewayOptions
public static class CreateGatewayOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(GatewayTemplate gatewayTemplate)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateGatewayOptions
build()
Builds a CreateGatewayOptions.CreateGatewayOptions.Builder
gatewayTemplate(GatewayTemplate gatewayTemplate)
Set the gatewayTemplate.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(GatewayTemplate gatewayTemplate)
Instantiates a new builder with required properties.- Parameters:
gatewayTemplate
- the gatewayTemplate
-
-
Method Detail
-
build
public CreateGatewayOptions build()
Builds a CreateGatewayOptions.- Returns:
- the new CreateGatewayOptions instance
-
gatewayTemplate
public CreateGatewayOptions.Builder gatewayTemplate(GatewayTemplate gatewayTemplate)
Set the gatewayTemplate.- Parameters:
gatewayTemplate
- the gatewayTemplate- Returns:
- the CreateGatewayOptions builder
-
-