Class SecurityGroupEgressReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.SecurityGroupEgressReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityGroupEgressReference>
- Enclosing interface:
SecurityGroupEgressReference
@Stability(Stable)
public static final class SecurityGroupEgressReference.Builder
extends Object
implements software.amazon.jsii.Builder<SecurityGroupEgressReference>
A builder for
SecurityGroupEgressReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupEgressId(String securityGroupEgressId) Sets the value ofSecurityGroupEgressReference.getSecurityGroupEgressId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupEgressId
@Stability(Stable) public SecurityGroupEgressReference.Builder securityGroupEgressId(String securityGroupEgressId) Sets the value ofSecurityGroupEgressReference.getSecurityGroupEgressId()- Parameters:
securityGroupEgressId- The Id of the SecurityGroupEgress resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecurityGroupEgressReference>- Returns:
- a new instance of
SecurityGroupEgressReference - Throws:
NullPointerException- if any required attribute was not provided
-