Class CfnStreamGroup.VpcTransitConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gameliftstreams.CfnStreamGroup.VpcTransitConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamGroup.VpcTransitConfigurationProperty>
- Enclosing interface:
CfnStreamGroup.VpcTransitConfigurationProperty
@Stability(Stable)
public static final class CfnStreamGroup.VpcTransitConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamGroup.VpcTransitConfigurationProperty>
A builder for
CfnStreamGroup.VpcTransitConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipv4CidrBlocks(List<String> ipv4CidrBlocks) Sets the value ofCfnStreamGroup.VpcTransitConfigurationProperty.getIpv4CidrBlocks()Sets the value ofCfnStreamGroup.VpcTransitConfigurationProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv4CidrBlocks
@Stability(Stable) public CfnStreamGroup.VpcTransitConfigurationProperty.Builder ipv4CidrBlocks(List<String> ipv4CidrBlocks) Sets the value ofCfnStreamGroup.VpcTransitConfigurationProperty.getIpv4CidrBlocks()- Parameters:
ipv4CidrBlocks- the value to be set. This parameter is required.- Returns:
this
-
vpcId
@Stability(Stable) public CfnStreamGroup.VpcTransitConfigurationProperty.Builder vpcId(String vpcId) Sets the value ofCfnStreamGroup.VpcTransitConfigurationProperty.getVpcId()- Parameters:
vpcId- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamGroup.VpcTransitConfigurationProperty>- Returns:
- a new instance of
CfnStreamGroup.VpcTransitConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-