Class CfnRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleMixinProps>
- Enclosing interface:
CfnRuleMixinProps
@Stability(Stable)
public static final class CfnRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleMixinProps>
A builder for
CfnRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRuleMixinProps.getAction()action(IResolvable action) Sets the value ofCfnRuleMixinProps.getAction()build()Builds the configured instance.listenerIdentifier(String listenerIdentifier) Sets the value ofCfnRuleMixinProps.getListenerIdentifier()Sets the value ofCfnRuleMixinProps.getMatch()match(IResolvable match) Sets the value ofCfnRuleMixinProps.getMatch()Sets the value ofCfnRuleMixinProps.getName()Sets the value ofCfnRuleMixinProps.getPriority()serviceIdentifier(String serviceIdentifier) Sets the value ofCfnRuleMixinProps.getServiceIdentifier()Sets the value ofCfnRuleMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnRuleMixinProps.getAction()- Parameters:
action- Describes the action for a rule.- Returns:
this
-
action
Sets the value ofCfnRuleMixinProps.getAction()- Parameters:
action- Describes the action for a rule.- Returns:
this
-
listenerIdentifier
Sets the value ofCfnRuleMixinProps.getListenerIdentifier()- Parameters:
listenerIdentifier- The ID or ARN of the listener.- Returns:
this
-
match
Sets the value ofCfnRuleMixinProps.getMatch()- Parameters:
match- The rule match.- Returns:
this
-
match
Sets the value ofCfnRuleMixinProps.getMatch()- Parameters:
match- The rule match.- Returns:
this
-
name
Sets the value ofCfnRuleMixinProps.getName()- Parameters:
name- The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- Returns:
this
-
priority
Sets the value ofCfnRuleMixinProps.getPriority()- Parameters:
priority- The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.- Returns:
this
-
serviceIdentifier
Sets the value ofCfnRuleMixinProps.getServiceIdentifier()- Parameters:
serviceIdentifier- The ID or ARN of the service.- Returns:
this
-
tags
Sets the value ofCfnRuleMixinProps.getTags()- Parameters:
tags- The tags for the rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleMixinProps>- Returns:
- a new instance of
CfnRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-