public static final class SecurityGroupImportOptions.Builder
extends java.lang.Object
SecurityGroupImportOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupImportOptions.Builder |
allowAllOutbound(java.lang.Boolean allowAllOutbound)
Sets the value of
SecurityGroupImportOptions.getAllowAllOutbound() |
SecurityGroupImportOptions |
build()
Builds the configured instance.
|
SecurityGroupImportOptions.Builder |
mutable(java.lang.Boolean mutable)
Sets the value of
SecurityGroupImportOptions.getMutable() |
public SecurityGroupImportOptions.Builder allowAllOutbound(java.lang.Boolean allowAllOutbound)
SecurityGroupImportOptions.getAllowAllOutbound()
allowAllOutbound
- Mark the SecurityGroup as having been created allowing all outbound traffic.
Only if this is set to false will egress rules be added to this security
group. Be aware, this would undo any potential "all outbound traffic"
default.this
public SecurityGroupImportOptions.Builder mutable(java.lang.Boolean mutable)
SecurityGroupImportOptions.getMutable()
mutable
- If a SecurityGroup is mutable CDK can add rules to existing groups.
Beware that making a SecurityGroup immutable might lead to issue
due to missing ingress/egress rules for new resources.this
public SecurityGroupImportOptions build()
SecurityGroupImportOptions
java.lang.NullPointerException
- if any required attribute was not provided