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