JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.backup.model

Class CreateBackupVaultRequest

    • Constructor Detail

      • CreateBackupVaultRequest

        public CreateBackupVaultRequest()
    • Method Detail

      • setBackupVaultName

        public void setBackupVaultName(String backupVaultName)

        The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.

        Parameters:
        backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
      • getBackupVaultName

        public String getBackupVaultName()

        The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.

        Returns:
        The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
      • withBackupVaultName

        public CreateBackupVaultRequest withBackupVaultName(String backupVaultName)

        The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.

        Parameters:
        backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getBackupVaultTags

        public Map<String,String> getBackupVaultTags()

        Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.

        Returns:
        Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
      • setBackupVaultTags

        public void setBackupVaultTags(Map<String,String> backupVaultTags)

        Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.

        Parameters:
        backupVaultTags - Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
      • withBackupVaultTags

        public CreateBackupVaultRequest withBackupVaultTags(Map<String,String> backupVaultTags)

        Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.

        Parameters:
        backupVaultTags - Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearBackupVaultTagsEntries

        public CreateBackupVaultRequest clearBackupVaultTagsEntries()
        Removes all the entries added into BackupVaultTags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEncryptionKeyArn

        public void setEncryptionKeyArn(String encryptionKeyArn)

        The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

        Parameters:
        encryptionKeyArn - The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
      • getEncryptionKeyArn

        public String getEncryptionKeyArn()

        The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

        Returns:
        The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
      • withEncryptionKeyArn

        public CreateBackupVaultRequest withEncryptionKeyArn(String encryptionKeyArn)

        The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

        Parameters:
        encryptionKeyArn - The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatorRequestId

        public void setCreatorRequestId(String creatorRequestId)

        A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

        If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

        Parameters:
        creatorRequestId - A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

        If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

      • getCreatorRequestId

        public String getCreatorRequestId()

        A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

        If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

        Returns:
        A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

        If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

      • withCreatorRequestId

        public CreateBackupVaultRequest withCreatorRequestId(String creatorRequestId)

        A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

        If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

        Parameters:
        creatorRequestId - A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.

        If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /