JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.fsx.model

Class CreateBackupRequest

    • Constructor Detail

      • CreateBackupRequest

        public CreateBackupRequest()
    • Method Detail

      • setFileSystemId

        public void setFileSystemId(String fileSystemId)

        The ID of the file system to back up.

        Parameters:
        fileSystemId - The ID of the file system to back up.
      • getFileSystemId

        public String getFileSystemId()

        The ID of the file system to back up.

        Returns:
        The ID of the file system to back up.
      • withFileSystemId

        public CreateBackupRequest withFileSystemId(String fileSystemId)

        The ID of the file system to back up.

        Parameters:
        fileSystemId - The ID of the file system to back up.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientRequestToken

        public void setClientRequestToken(String clientRequestToken)

        (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

        Parameters:
        clientRequestToken - (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
      • getClientRequestToken

        public String getClientRequestToken()

        (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

        Returns:
        (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
      • withClientRequestToken

        public CreateBackupRequest withClientRequestToken(String clientRequestToken)

        (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

        Parameters:
        clientRequestToken - (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.

        Returns:
        (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.
      • setTags

        public void setTags(Collection<Tag> tags)

        (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.

        Parameters:
        tags - (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.
      • withTags

        public CreateBackupRequest withTags(Tag... tags)

        (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateBackupRequest withTags(Collection<Tag> tags)

        (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.

        Parameters:
        tags - (Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup operation, no existing file system tags are copied from the file system to the backup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolumeId

        public void setVolumeId(String volumeId)

        (Optional) The ID of the FSx for ONTAP volume to back up.

        Parameters:
        volumeId - (Optional) The ID of the FSx for ONTAP volume to back up.
      • getVolumeId

        public String getVolumeId()

        (Optional) The ID of the FSx for ONTAP volume to back up.

        Returns:
        (Optional) The ID of the FSx for ONTAP volume to back up.
      • withVolumeId

        public CreateBackupRequest withVolumeId(String volumeId)

        (Optional) The ID of the FSx for ONTAP volume to back up.

        Parameters:
        volumeId - (Optional) The ID of the FSx for ONTAP volume to back up.
        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 によって変換されたページ (->オリジナル) /