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 - A list of conditions that you define to assign resources to your backup plans using tags.
        Returns:
        builder
      • conditions

        public SelectionState.Builder conditions​(java.util.List<SelectionConditionArgs> conditions)
        Parameters:
        conditions - A list of conditions that you define to assign resources to your backup plans using tags.
        Returns:
        builder
      • conditions

        public SelectionState.Builder conditions​(SelectionConditionArgs... conditions)
        Parameters:
        conditions - A list of conditions that you define to assign resources to your backup plans using tags.
        Returns:
        builder
      • iamRoleArn

        public SelectionState.Builder iamRoleArn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> iamRoleArn)
        Parameters:
        iamRoleArn - The 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 - The 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 - The display name of a resource selection document.
        Returns:
        builder
      • name

        public SelectionState.Builder name​(java.lang.String name)
        Parameters:
        name - The 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 - An array of strings that either contain Amazon Resource Names (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 - An array of strings that either contain Amazon Resource Names (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 - An array of strings that either contain Amazon Resource Names (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 - The backup plan ID to be associated with the selection of resources.
        Returns:
        builder
      • planId

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

        public SelectionState.Builder resources​(@Nullable
                                                com.pulumi.core.Output<java.util.List<java.lang.String>> resources)
        Parameters:
        resources - An array of strings that either contain Amazon Resource Names (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 - An array of strings that either contain Amazon Resource Names (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 - An array of strings that either contain Amazon Resource Names (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.
        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.
        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.
        Returns:
        builder