Class CfnSecurityGroupIngressMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnSecurityGroupIngressMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityGroupIngressMixinProps>
- Enclosing interface:
CfnSecurityGroupIngressMixinProps
@Stability(Stable)
public static final class CfnSecurityGroupIngressMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityGroupIngressMixinProps>
A builder for
CfnSecurityGroupIngressMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cacheSecurityGroupName(String cacheSecurityGroupName) Sets the value ofCfnSecurityGroupIngressMixinProps.getCacheSecurityGroupName()ec2SecurityGroupName(String ec2SecurityGroupName) Sets the value ofCfnSecurityGroupIngressMixinProps.getEc2SecurityGroupName()ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Sets the value ofCfnSecurityGroupIngressMixinProps.getEc2SecurityGroupOwnerId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cacheSecurityGroupName
@Stability(Stable) public CfnSecurityGroupIngressMixinProps.Builder cacheSecurityGroupName(String cacheSecurityGroupName) Sets the value ofCfnSecurityGroupIngressMixinProps.getCacheSecurityGroupName()- Parameters:
cacheSecurityGroupName- The name of the Cache Security Group to authorize.- Returns:
this
-
ec2SecurityGroupName
@Stability(Stable) public CfnSecurityGroupIngressMixinProps.Builder ec2SecurityGroupName(String ec2SecurityGroupName) Sets the value ofCfnSecurityGroupIngressMixinProps.getEc2SecurityGroupName()- Parameters:
ec2SecurityGroupName- Name of the EC2 Security Group to include in the authorization.- Returns:
this
-
ec2SecurityGroupOwnerId
@Stability(Stable) public CfnSecurityGroupIngressMixinProps.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Sets the value ofCfnSecurityGroupIngressMixinProps.getEc2SecurityGroupOwnerId()- Parameters:
ec2SecurityGroupOwnerId- Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. The Amazon access key ID is not an acceptable value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityGroupIngressMixinProps>- Returns:
- a new instance of
CfnSecurityGroupIngressMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-