Class CfnSecurityGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnSecurityGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityGroupMixinProps>
- Enclosing interface:
CfnSecurityGroupMixinProps
@Stability(Stable)
public static final class CfnSecurityGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityGroupMixinProps>
A builder for
CfnSecurityGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSecurityGroupMixinProps.getDescription()Sets the value ofCfnSecurityGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSecurityGroupMixinProps.getDescription()- Parameters:
description- A description for the cache security group.- Returns:
this
-
tags
Sets the value ofCfnSecurityGroupMixinProps.getTags()- Parameters:
tags- A tag that can be added to an ElastiCache security group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your security groups. A tag with a null Value is permitted.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityGroupMixinProps>- Returns:
- a new instance of
CfnSecurityGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-