Class PlanArgs.Builder

  • Enclosing class:
    PlanArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(PlanArgs defaults)
    • Method Detail

      • associatedAlarms

        public PlanArgs.Builder associatedAlarms​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<PlanAssociatedAlarmArgs>> associatedAlarms)
        Parameters:
        associatedAlarms - CloudWatch alarms associated with the plan. See `associatedAlarms` Block for details.
        Returns:
        builder
      • associatedAlarms

        public PlanArgs.Builder associatedAlarms​(java.util.List<PlanAssociatedAlarmArgs> associatedAlarms)
        Parameters:
        associatedAlarms - CloudWatch alarms associated with the plan. See `associatedAlarms` Block for details.
        Returns:
        builder
      • associatedAlarms

        public PlanArgs.Builder associatedAlarms​(PlanAssociatedAlarmArgs... associatedAlarms)
        Parameters:
        associatedAlarms - CloudWatch alarms associated with the plan. See `associatedAlarms` Block for details.
        Returns:
        builder
      • description

        public PlanArgs.Builder description​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the plan.
        Returns:
        builder
      • description

        public PlanArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the plan.
        Returns:
        builder
      • executionRole

        public PlanArgs.Builder executionRole​(com.pulumi.core.Output<java.lang.String> executionRole)
        Parameters:
        executionRole - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
        Returns:
        builder
      • executionRole

        public PlanArgs.Builder executionRole​(java.lang.String executionRole)
        Parameters:
        executionRole - ARN of the IAM role that ARC Region Switch will assume to execute the plan.
        Returns:
        builder
      • name

        public PlanArgs.Builder name​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the plan. Must be unique within the account.
        Returns:
        builder
      • name

        public PlanArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the plan. Must be unique within the account.
        Returns:
        builder
      • primaryRegion

        public PlanArgs.Builder primaryRegion​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> primaryRegion)
        Parameters:
        primaryRegion - Primary region for the plan.
        Returns:
        builder
      • primaryRegion

        public PlanArgs.Builder primaryRegion​(java.lang.String primaryRegion)
        Parameters:
        primaryRegion - Primary region for the plan.
        Returns:
        builder
      • recoveryApproach

        public PlanArgs.Builder recoveryApproach​(com.pulumi.core.Output<java.lang.String> recoveryApproach)
        Parameters:
        recoveryApproach - Recovery approach for the plan. Valid values: `activeActive`, `activePassive`.
        Returns:
        builder
      • recoveryApproach

        public PlanArgs.Builder recoveryApproach​(java.lang.String recoveryApproach)
        Parameters:
        recoveryApproach - Recovery approach for the plan. Valid values: `activeActive`, `activePassive`.
        Returns:
        builder
      • recoveryTimeObjectiveMinutes

        public PlanArgs.Builder recoveryTimeObjectiveMinutes​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> recoveryTimeObjectiveMinutes)
        Parameters:
        recoveryTimeObjectiveMinutes - Recovery time objective in minutes.
        Returns:
        builder
      • recoveryTimeObjectiveMinutes

        public PlanArgs.Builder recoveryTimeObjectiveMinutes​(java.lang.Integer recoveryTimeObjectiveMinutes)
        Parameters:
        recoveryTimeObjectiveMinutes - Recovery time objective in minutes.
        Returns:
        builder
      • region

        @Deprecated
        public PlanArgs.Builder region​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> region)
        Deprecated.
        This attribute will be removed in a future version of the provider.
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        @Deprecated
        public PlanArgs.Builder region​(java.lang.String region)
        Deprecated.
        This attribute will be removed in a future version of the provider.
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • regions

        public PlanArgs.Builder regions​(com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
        Parameters:
        regions - List of AWS regions involved in the plan. Must contain at least 2 regions.
        Returns:
        builder
      • regions

        public PlanArgs.Builder regions​(java.util.List<java.lang.String> regions)
        Parameters:
        regions - List of AWS regions involved in the plan. Must contain at least 2 regions.
        Returns:
        builder
      • regions

        public PlanArgs.Builder regions​(java.lang.String... regions)
        Parameters:
        regions - List of AWS regions involved in the plan. Must contain at least 2 regions.
        Returns:
        builder
      • reportConfigurations

        public PlanArgs.Builder reportConfigurations​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<PlanReportConfigurationArgs>> reportConfigurations)
        Parameters:
        reportConfigurations - Configuration for automated execution reports. See `reportConfiguration` Block for details.
        Returns:
        builder
      • reportConfigurations

        public PlanArgs.Builder reportConfigurations​(java.util.List<PlanReportConfigurationArgs> reportConfigurations)
        Parameters:
        reportConfigurations - Configuration for automated execution reports. See `reportConfiguration` Block for details.
        Returns:
        builder
      • reportConfigurations

        public PlanArgs.Builder reportConfigurations​(PlanReportConfigurationArgs... reportConfigurations)
        Parameters:
        reportConfigurations - Configuration for automated execution reports. See `reportConfiguration` Block for details.
        Returns:
        builder
      • tags

        public PlanArgs.Builder tags​(@Nullable
                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - 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 PlanArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - 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
      • triggers

        public PlanArgs.Builder triggers​(@Nullable
                                         com.pulumi.core.Output<java.util.List<PlanTriggerArgs>> triggers)
        Parameters:
        triggers - Triggers that can initiate the plan execution. See `triggers` Block for details.
        Returns:
        builder
      • triggers

        public PlanArgs.Builder triggers​(java.util.List<PlanTriggerArgs> triggers)
        Parameters:
        triggers - Triggers that can initiate the plan execution. See `triggers` Block for details.
        Returns:
        builder
      • triggers

        public PlanArgs.Builder triggers​(PlanTriggerArgs... triggers)
        Parameters:
        triggers - Triggers that can initiate the plan execution. See `triggers` Block for details.
        Returns:
        builder
      • workflows

        public PlanArgs.Builder workflows​(@Nullable
                                          com.pulumi.core.Output<java.util.List<PlanWorkflowArgs>> workflows)
        Parameters:
        workflows - Workflows that define the steps to execute. See `workflow` Block for details. The following arguments are optional:
        Returns:
        builder
      • workflows

        public PlanArgs.Builder workflows​(java.util.List<PlanWorkflowArgs> workflows)
        Parameters:
        workflows - Workflows that define the steps to execute. See `workflow` Block for details. The following arguments are optional:
        Returns:
        builder
      • workflows

        public PlanArgs.Builder workflows​(PlanWorkflowArgs... workflows)
        Parameters:
        workflows - Workflows that define the steps to execute. See `workflow` Block for details. The following arguments are optional:
        Returns:
        builder