Class SafetyRuleState.Builder

  • Enclosing class:
    SafetyRuleState

    public static final class SafetyRuleState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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