Class SafetyRuleState.Builder
- java.lang.Object
-
- com.pulumi.aws.route53recoverycontrol.inputs.SafetyRuleState.Builder
-
- Enclosing class:
- SafetyRuleState
public static final class SafetyRuleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SafetyRuleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SafetyRuleState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)SafetyRuleState.Builderarn(java.lang.String arn)SafetyRuleState.BuilderassertedControls(com.pulumi.core.Output<java.util.List<java.lang.String>> assertedControls)SafetyRuleState.BuilderassertedControls(java.lang.String... assertedControls)SafetyRuleState.BuilderassertedControls(java.util.List<java.lang.String> assertedControls)SafetyRuleStatebuild()SafetyRuleState.BuildercontrolPanelArn(com.pulumi.core.Output<java.lang.String> controlPanelArn)SafetyRuleState.BuildercontrolPanelArn(java.lang.String controlPanelArn)SafetyRuleState.BuildergatingControls(com.pulumi.core.Output<java.util.List<java.lang.String>> gatingControls)SafetyRuleState.BuildergatingControls(java.lang.String... gatingControls)SafetyRuleState.BuildergatingControls(java.util.List<java.lang.String> gatingControls)SafetyRuleState.Buildername(com.pulumi.core.Output<java.lang.String> name)SafetyRuleState.Buildername(java.lang.String name)SafetyRuleState.BuilderruleConfig(SafetyRuleRuleConfigArgs ruleConfig)SafetyRuleState.BuilderruleConfig(com.pulumi.core.Output<SafetyRuleRuleConfigArgs> ruleConfig)SafetyRuleState.Builderstatus(com.pulumi.core.Output<java.lang.String> status)SafetyRuleState.Builderstatus(java.lang.String status)SafetyRuleState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)SafetyRuleState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)SafetyRuleState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)SafetyRuleState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)SafetyRuleState.BuildertargetControls(com.pulumi.core.Output<java.util.List<java.lang.String>> targetControls)SafetyRuleState.BuildertargetControls(java.lang.String... targetControls)SafetyRuleState.BuildertargetControls(java.util.List<java.lang.String> targetControls)SafetyRuleState.BuilderwaitPeriodMs(com.pulumi.core.Output<java.lang.Integer> waitPeriodMs)SafetyRuleState.BuilderwaitPeriodMs(java.lang.Integer waitPeriodMs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SafetyRuleState defaults)
-
-
Method Detail
-
arn
public SafetyRuleState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the safety rule.- Returns:
- builder
-
arn
public SafetyRuleState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the safety rule.- Returns:
- builder
-
assertedControls
public SafetyRuleState.Builder assertedControls(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> assertedControls)
- Parameters:
assertedControls- Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.- Returns:
- builder
-
assertedControls
public SafetyRuleState.Builder assertedControls(java.util.List<java.lang.String> assertedControls)
- Parameters:
assertedControls- Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.- Returns:
- builder
-
assertedControls
public SafetyRuleState.Builder assertedControls(java.lang.String... assertedControls)
- Parameters:
assertedControls- Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.- Returns:
- builder
-
controlPanelArn
public SafetyRuleState.Builder controlPanelArn(@Nullable com.pulumi.core.Output<java.lang.String> controlPanelArn)
- Parameters:
controlPanelArn- ARN of the control panel in which this safety rule will reside.- Returns:
- builder
-
controlPanelArn
public SafetyRuleState.Builder controlPanelArn(java.lang.String controlPanelArn)
- Parameters:
controlPanelArn- ARN of the control panel in which this safety rule will reside.- Returns:
- builder
-
gatingControls
public SafetyRuleState.Builder gatingControls(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> gatingControls)
- Parameters:
gatingControls- Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.- Returns:
- builder
-
gatingControls
public SafetyRuleState.Builder gatingControls(java.util.List<java.lang.String> gatingControls)
- Parameters:
gatingControls- Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.- Returns:
- builder
-
gatingControls
public SafetyRuleState.Builder gatingControls(java.lang.String... gatingControls)
- Parameters:
gatingControls- Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.- Returns:
- builder
-
name
public SafetyRuleState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name describing the safety rule.- Returns:
- builder
-
name
public SafetyRuleState.Builder name(java.lang.String name)
- Parameters:
name- Name describing the safety rule.- Returns:
- builder
-
ruleConfig
public SafetyRuleState.Builder ruleConfig(@Nullable com.pulumi.core.Output<SafetyRuleRuleConfigArgs> ruleConfig)
- Parameters:
ruleConfig- Configuration block for safety rule criteria. See below.- Returns:
- builder
-
ruleConfig
public SafetyRuleState.Builder ruleConfig(SafetyRuleRuleConfigArgs ruleConfig)
- Parameters:
ruleConfig- Configuration block for safety rule criteria. See below.- Returns:
- builder
-
status
public SafetyRuleState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status- Status of the safety rule. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise.- Returns:
- builder
-
status
public SafetyRuleState.Builder status(java.lang.String status)
- Parameters:
status- Status of the safety rule. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise.- Returns:
- builder
-
tags
public SafetyRuleState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public SafetyRuleState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public SafetyRuleState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public SafetyRuleState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
targetControls
public SafetyRuleState.Builder targetControls(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> targetControls)
- Parameters:
targetControls- Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`.- Returns:
- builder
-
targetControls
public SafetyRuleState.Builder targetControls(java.util.List<java.lang.String> targetControls)
- Parameters:
targetControls- Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`.- Returns:
- builder
-
targetControls
public SafetyRuleState.Builder targetControls(java.lang.String... targetControls)
- Parameters:
targetControls- Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`.- Returns:
- builder
-
waitPeriodMs
public SafetyRuleState.Builder waitPeriodMs(@Nullable com.pulumi.core.Output<java.lang.Integer> waitPeriodMs)
- Parameters:
waitPeriodMs- Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. The following arguments are optional:- Returns:
- builder
-
waitPeriodMs
public SafetyRuleState.Builder waitPeriodMs(java.lang.Integer waitPeriodMs)
- Parameters:
waitPeriodMs- Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. The following arguments are optional:- Returns:
- builder
-
build
public SafetyRuleState build()
-
-