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<? extends Object> securityGroupIds) Sets the value ofCfnRequesterGatewayProps.getSecurityGroupIds()Sets the value ofCfnRequesterGatewayProps.getSubnetIds()Sets the value ofCfnRequesterGatewayProps.getTags()Sets the value ofCfnRequesterGatewayProps.getVpcId()Sets the value ofCfnRequesterGatewayProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnRequesterGatewayProps.Builder securityGroupIds(List<? extends Object> securityGroupIds) Sets the value ofCfnRequesterGatewayProps.getSecurityGroupIds()- Parameters:
securityGroupIds- The unique identifiers of the security groups. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnRequesterGatewayProps.Builder subnetIds(List<? extends Object> subnetIds) Sets the value ofCfnRequesterGatewayProps.getSubnetIds()- Parameters:
subnetIds- The unique identifiers of the subnets. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnRequesterGatewayProps.getVpcId()- Parameters:
vpcId- The unique identifier of the Virtual Private Cloud (VPC). This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnRequesterGatewayProps.getVpcId()- Parameters:
vpcId- The unique identifier of the Virtual Private Cloud (VPC). This parameter is required.- Returns:
this
-
description
Sets the value ofCfnRequesterGatewayProps.getDescription()- Parameters:
description- An optional description for the requester gateway.- Returns:
this
-
tags
Sets the value ofCfnRequesterGatewayProps.getTags()- Parameters:
tags- A map of the key-value pairs of the tag or tags to assign to the resource.- 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
-