Class VolumeGroupBackup.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public VolumeGroupBackup.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
      • displayName

        public VolumeGroupBackup.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 VolumeGroupBackup.Builder expirationTime​(Date expirationTime)
        The date and time the volume group backup will expire and be automatically deleted.

        Format defined by RFC3339. This parameter will always be present for volume group backups that were created automatically by a scheduled-backup policy. For manually created volume group 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 VolumeGroupBackup.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
      • sizeInMBs

        public VolumeGroupBackup.Builder sizeInMBs​(Long sizeInMBs)
        The aggregate size of the volume group backup, in MBs.
        Parameters:
        sizeInMBs - the value to set
        Returns:
        this builder
      • sizeInGBs

        public VolumeGroupBackup.Builder sizeInGBs​(Long sizeInGBs)
        The aggregate size of the volume group backup, in GBs.
        Parameters:
        sizeInGBs - the value to set
        Returns:
        this builder
      • timeCreated

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

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

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

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

        Format defined by RFC3339.

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

        public VolumeGroupBackup.Builder uniqueSizeInMbs​(Long uniqueSizeInMbs)
        The aggregate size used by the volume group backup, in MBs.

        It is typically smaller than sizeInMBs, depending on the spaceconsumed on the volume group and whether the volume backup is full or incremental.

        Parameters:
        uniqueSizeInMbs - the value to set
        Returns:
        this builder
      • uniqueSizeInGbs

        public VolumeGroupBackup.Builder uniqueSizeInGbs​(Long uniqueSizeInGbs)
        The aggregate size used by the volume group backup, in GBs.

        It is typically smaller than sizeInGBs, depending on the spaceconsumed on the volume group and whether the volume backup is full or incremental.

        Parameters:
        uniqueSizeInGbs - the value to set
        Returns:
        this builder
      • volumeBackupIds

        public VolumeGroupBackup.Builder volumeBackupIds​(List<String> volumeBackupIds)
        OCIDs for the volume backups in this volume group backup.
        Parameters:
        volumeBackupIds - the value to set
        Returns:
        this builder
      • volumeGroupId

        public VolumeGroupBackup.Builder volumeGroupId​(String volumeGroupId)
        The OCID of the source volume group.
        Parameters:
        volumeGroupId - the value to set
        Returns:
        this builder
      • sourceVolumeGroupBackupId

        public VolumeGroupBackup.Builder sourceVolumeGroupBackupId​(String sourceVolumeGroupBackupId)
        The OCID of the source volume group backup.
        Parameters:
        sourceVolumeGroupBackupId - the value to set
        Returns:
        this builder