Class BootVolumeBackup.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bootVolumeId

        public BootVolumeBackup.Builder bootVolumeId​(String bootVolumeId)
        The OCID of the boot volume.
        Parameters:
        bootVolumeId - the value to set
        Returns:
        this builder
      • compartmentId

        public BootVolumeBackup.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the boot volume backup.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • definedTags

        public BootVolumeBackup.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public BootVolumeBackup.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder
      • displayName

        public BootVolumeBackup.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • expirationTime

        public BootVolumeBackup.Builder expirationTime​(Date expirationTime)
        The date and time the volume backup will expire and be automatically deleted.

        Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.

        Parameters:
        expirationTime - the value to set
        Returns:
        this builder
      • freeformTags

        public BootVolumeBackup.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • imageId

        public BootVolumeBackup.Builder imageId​(String imageId)
        The image OCID used to create the boot volume the backup is taken from.
        Parameters:
        imageId - the value to set
        Returns:
        this builder
      • kmsKeyId

        public BootVolumeBackup.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the Vault service master encryption assigned to the boot volume backup.

        For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.

        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • sizeInGBs

        public BootVolumeBackup.Builder sizeInGBs​(Long sizeInGBs)
        The size of the boot volume, in GBs.
        Parameters:
        sizeInGBs - the value to set
        Returns:
        this builder
      • sourceBootVolumeBackupId

        public BootVolumeBackup.Builder sourceBootVolumeBackupId​(String sourceBootVolumeBackupId)
        The OCID of the source boot volume backup.
        Parameters:
        sourceBootVolumeBackupId - the value to set
        Returns:
        this builder
      • timeCreated

        public BootVolumeBackup.Builder timeCreated​(Date timeCreated)
        The date and time the boot volume backup was created.

        This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeRequestReceived

        public BootVolumeBackup.Builder timeRequestReceived​(Date timeRequestReceived)
        The date and time the request to create the boot volume backup was received.

        Format defined by RFC3339.

        Parameters:
        timeRequestReceived - the value to set
        Returns:
        this builder
      • uniqueSizeInGBs

        public BootVolumeBackup.Builder uniqueSizeInGBs​(Long uniqueSizeInGBs)
        The size used by the backup, in GBs.

        It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental.

        Parameters:
        uniqueSizeInGBs - the value to set
        Returns:
        this builder