Class GatewayConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.GatewayConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayConfig>
- Enclosing interface:
GatewayConfig
@Stability(Stable)
public static final class GatewayConfig.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayConfig>
A builder for
GatewayConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofGatewayConfig.getAz()
build()
Builds the configured instance.Sets the value ofGatewayConfig.getGatewayId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
az
Sets the value ofGatewayConfig.getAz()
- Parameters:
az
- Availability Zone. This parameter is required.- Returns:
this
-
gatewayId
Sets the value ofGatewayConfig.getGatewayId()
- Parameters:
gatewayId
- Identity of gateway spawned by the provider. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GatewayConfig>
- Returns:
- a new instance of
GatewayConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-