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