Class CfnRequesterGatewayProps.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnRequesterGatewayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRequesterGatewayProps>
- Enclosing interface:
CfnRequesterGatewayProps
@Stability(Stable)
public static final class CfnRequesterGatewayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRequesterGatewayProps>
A builder for
CfnRequesterGatewayProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnRequesterGatewayProps.getDescription()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnRequesterGatewayProps.getSecurityGroupIds()Sets the value ofCfnRequesterGatewayProps.getSubnetIds()Sets the value ofCfnRequesterGatewayProps.getTags()Sets the value ofCfnRequesterGatewayProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnRequesterGatewayProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnRequesterGatewayProps.getSecurityGroupIds()- Parameters:
securityGroupIds- The ID of one or more security groups in order to create a requester gateway. This parameter is required.- Returns:
this
-
subnetIds
Sets the value ofCfnRequesterGatewayProps.getSubnetIds()- Parameters:
subnetIds- The ID of one or more subnets in order to create a requester gateway. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnRequesterGatewayProps.getVpcId()- Parameters:
vpcId- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnRequesterGatewayProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnRequesterGatewayProps.getTags()- Parameters:
tags- Tags to assign to the Requester Gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRequesterGatewayProps>- Returns:
- a new instance of
CfnRequesterGatewayProps - Throws:
NullPointerException- if any required attribute was not provided
-