Class CfnSecurityGroupIngressPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.elasticache.mixins.CfnSecurityGroupIngressPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityGroupIngressPropsMixin>
- Enclosing class:
CfnSecurityGroupIngressPropsMixin
@Stability(Stable)
public static final class CfnSecurityGroupIngressPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityGroupIngressPropsMixin>
A fluent builder for
CfnSecurityGroupIngressPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cacheSecurityGroupName(String cacheSecurityGroupName) The name of the Cache Security Group to authorize.create()create(CfnPropertyMixinOptions options) ec2SecurityGroupName(String ec2SecurityGroupName) Name of the EC2 Security Group to include in the authorization.ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.
-
Method Details
-
create
@Stability(Stable) public static CfnSecurityGroupIngressPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSecurityGroupIngressPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSecurityGroupIngressPropsMixin.Builder.
-
cacheSecurityGroupName
@Stability(Stable) public CfnSecurityGroupIngressPropsMixin.Builder cacheSecurityGroupName(String cacheSecurityGroupName) The name of the Cache Security Group to authorize.- Parameters:
cacheSecurityGroupName- The name of the Cache Security Group to authorize. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupName
@Stability(Stable) public CfnSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupName(String ec2SecurityGroupName) Name of the EC2 Security Group to include in the authorization.- Parameters:
ec2SecurityGroupName- Name of the EC2 Security Group to include in the authorization. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupOwnerId
@Stability(Stable) public CfnSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupOwnerId(String 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.
- Parameters:
ec2SecurityGroupOwnerId- Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityGroupIngressPropsMixin>- Returns:
- a newly built instance of
CfnSecurityGroupIngressPropsMixin.
-