Package software.amazon.awscdk.cxapi
Class SecurityGroupContextResponse.Builder
java.lang.Object
software.amazon.awscdk.cxapi.SecurityGroupContextResponse.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityGroupContextResponse>
- Enclosing interface:
SecurityGroupContextResponse
@Stability(Deprecated)
@Deprecated
public static final class SecurityGroupContextResponse.Builder
extends Object
implements software.amazon.jsii.Builder<SecurityGroupContextResponse>
Deprecated.
A builder for
SecurityGroupContextResponse-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowAllOutbound(Boolean allowAllOutbound) Deprecated.build()Deprecated.securityGroupId(String securityGroupId) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
allowAllOutbound
@Stability(Deprecated) @Deprecated public SecurityGroupContextResponse.Builder allowAllOutbound(Boolean allowAllOutbound) Deprecated.Sets the value ofSecurityGroupContextResponse.getAllowAllOutbound()- Parameters:
allowAllOutbound- Whether the security group allows all outbound traffic. This parameter is required. This will be true when the security group has all-protocol egress permissions to access both0.0.0.0/0and::/0.- Returns:
this
-
securityGroupId
@Stability(Deprecated) @Deprecated public SecurityGroupContextResponse.Builder securityGroupId(String securityGroupId) Deprecated.Sets the value ofSecurityGroupContextResponse.getSecurityGroupId()- Parameters:
securityGroupId- The security group's id. This parameter is required.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecurityGroupContextResponse>- Returns:
- a new instance of
SecurityGroupContextResponse - Throws:
NullPointerException- if any required attribute was not provided
-