Class SelectionState.Builder

  • Enclosing class:
    SelectionState

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

      • Builder

        public Builder()
    • Method Detail

      • conditions

        public SelectionState.Builder conditions​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<SelectionConditionArgs>> conditions)
        Parameters:
        conditions - Condition-based filters used to specify sets of resources for a backup plan. See below for details.
        Returns:
        builder
      • conditions

        public SelectionState.Builder conditions​(java.util.List<SelectionConditionArgs> conditions)
        Parameters:
        conditions - Condition-based filters used to specify sets of resources for a backup plan. See below for details.
        Returns:
        builder
      • conditions

        public SelectionState.Builder conditions​(SelectionConditionArgs... conditions)
        Parameters:
        conditions - Condition-based filters used to specify sets of resources for a backup plan. See below for details.
        Returns:
        builder
      • iamRoleArn

        public SelectionState.Builder iamRoleArn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> iamRoleArn)
        Parameters:
        iamRoleArn - ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
        Returns:
        builder
      • iamRoleArn

        public SelectionState.Builder iamRoleArn​(java.lang.String iamRoleArn)
        Parameters:
        iamRoleArn - ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
        Returns:
        builder
      • name

        public SelectionState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Display name of a resource selection document.
        Returns:
        builder
      • name

        public SelectionState.Builder name​(java.lang.String name)
        Parameters:
        name - Display name of a resource selection document.
        Returns:
        builder
      • notResources

        public SelectionState.Builder notResources​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> notResources)
        Parameters:
        notResources - Array of strings that either contain ARNs or match patterns of resources to exclude from a backup plan.
        Returns:
        builder
      • notResources

        public SelectionState.Builder notResources​(java.util.List<java.lang.String> notResources)
        Parameters:
        notResources - Array of strings that either contain ARNs or match patterns of resources to exclude from a backup plan.
        Returns:
        builder
      • notResources

        public SelectionState.Builder notResources​(java.lang.String... notResources)
        Parameters:
        notResources - Array of strings that either contain ARNs or match patterns of resources to exclude from a backup plan.
        Returns:
        builder
      • planId

        public SelectionState.Builder planId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> planId)
        Parameters:
        planId - Backup plan ID to be associated with the selection of resources.
        Returns:
        builder
      • planId

        public SelectionState.Builder planId​(java.lang.String planId)
        Parameters:
        planId - Backup plan ID to be associated with the selection of resources.
        Returns:
        builder
      • region

        public SelectionState.Builder region​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> region)
        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

        public SelectionState.Builder region​(java.lang.String region)
        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
      • resources

        public SelectionState.Builder resources​(@Nullable
                                                com.pulumi.core.Output<java.util.List<java.lang.String>> resources)
        Parameters:
        resources - Array of strings that either contain ARNs or match patterns of resources to assign to a backup plan.
        Returns:
        builder
      • resources

        public SelectionState.Builder resources​(java.util.List<java.lang.String> resources)
        Parameters:
        resources - Array of strings that either contain ARNs or match patterns of resources to assign to a backup plan.
        Returns:
        builder
      • resources

        public SelectionState.Builder resources​(java.lang.String... resources)
        Parameters:
        resources - Array of strings that either contain ARNs or match patterns of resources to assign to a backup plan.
        Returns:
        builder
      • selectionTags

        public SelectionState.Builder selectionTags​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<SelectionSelectionTagArgs>> selectionTags)
        Parameters:
        selectionTags - Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
        Returns:
        builder
      • selectionTags

        public SelectionState.Builder selectionTags​(java.util.List<SelectionSelectionTagArgs> selectionTags)
        Parameters:
        selectionTags - Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
        Returns:
        builder
      • selectionTags

        public SelectionState.Builder selectionTags​(SelectionSelectionTagArgs... selectionTags)
        Parameters:
        selectionTags - Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
        Returns:
        builder