Class CfnEnvironment.ServiceAccessSecurityGroupsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.ServiceAccessSecurityGroupsProperty>
- Enclosing interface:
CfnEnvironment.ServiceAccessSecurityGroupsProperty
@Stability(Stable)
public static final class CfnEnvironment.ServiceAccessSecurityGroupsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.ServiceAccessSecurityGroupsProperty>
A builder for
CfnEnvironment.ServiceAccessSecurityGroupsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroups(List<String> securityGroups) Sets the value ofCfnEnvironment.ServiceAccessSecurityGroupsProperty.getSecurityGroups()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroups
@Stability(Stable) public CfnEnvironment.ServiceAccessSecurityGroupsProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnEnvironment.ServiceAccessSecurityGroupsProperty.getSecurityGroups()- Parameters:
securityGroups- The security groups that allow service access.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironment.ServiceAccessSecurityGroupsProperty>- Returns:
- a new instance of
CfnEnvironment.ServiceAccessSecurityGroupsProperty - Throws:
NullPointerException- if any required attribute was not provided
-