public static class VolumeGroupBackup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeGroupBackup |
build() |
VolumeGroupBackup.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the volume group backup.
|
VolumeGroupBackup.Builder |
copy(VolumeGroupBackup model) |
VolumeGroupBackup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VolumeGroupBackup.Builder |
displayName(String displayName)
A user-friendly name.
|
VolumeGroupBackup.Builder |
expirationTime(Date expirationTime)
The date and time the volume group backup will expire and be automatically deleted.
|
VolumeGroupBackup.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
VolumeGroupBackup.Builder |
id(String id)
The OCID of the volume group backup.
|
VolumeGroupBackup.Builder |
lifecycleState(VolumeGroupBackup.LifecycleState lifecycleState)
The current state of a volume group backup.
|
VolumeGroupBackup.Builder |
sizeInGBs(Long sizeInGBs)
The aggregate size of the volume group backup, in GBs.
|
VolumeGroupBackup.Builder |
sizeInMBs(Long sizeInMBs)
The aggregate size of the volume group backup, in MBs.
|
VolumeGroupBackup.Builder |
sourceType(VolumeGroupBackup.SourceType sourceType)
Specifies whether the volume group backup was created manually, or via scheduled backup
policy.
|
VolumeGroupBackup.Builder |
sourceVolumeGroupBackupId(String sourceVolumeGroupBackupId)
The OCID of the source volume group backup.
|
VolumeGroupBackup.Builder |
timeCreated(Date timeCreated)
The date and time the volume group backup was created.
|
VolumeGroupBackup.Builder |
timeRequestReceived(Date timeRequestReceived)
The date and time the request to create the volume group backup was received.
|
VolumeGroupBackup.Builder |
type(VolumeGroupBackup.Type type)
The type of backup.
|
VolumeGroupBackup.Builder |
uniqueSizeInGbs(Long uniqueSizeInGbs)
The aggregate size used by the volume group backup, in GBs.
|
VolumeGroupBackup.Builder |
uniqueSizeInMbs(Long uniqueSizeInMbs)
The aggregate size used by the volume group backup, in MBs.
|
VolumeGroupBackup.Builder |
volumeBackupIds(List<String> volumeBackupIds)
OCIDs for the volume backups in this volume group backup.
|
VolumeGroupBackup.Builder |
volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
|
public VolumeGroupBackup.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume group backup.
compartmentId
- the value to setpublic 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"}}
definedTags
- the value to setpublic VolumeGroupBackup.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic 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.
expirationTime
- the value to setpublic 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"}
freeformTags
- the value to setpublic VolumeGroupBackup.Builder id(String id)
The OCID of the volume group backup.
id
- the value to setpublic VolumeGroupBackup.Builder lifecycleState(VolumeGroupBackup.LifecycleState lifecycleState)
The current state of a volume group backup.
lifecycleState
- the value to setpublic VolumeGroupBackup.Builder sizeInMBs(Long sizeInMBs)
The aggregate size of the volume group backup, in MBs.
sizeInMBs
- the value to setpublic VolumeGroupBackup.Builder sizeInGBs(Long sizeInGBs)
The aggregate size of the volume group backup, in GBs.
sizeInGBs
- the value to setpublic VolumeGroupBackup.Builder sourceType(VolumeGroupBackup.SourceType sourceType)
Specifies whether the volume group backup was created manually, or via scheduled backup policy.
sourceType
- the value to setpublic 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.
timeCreated
- the value to setpublic VolumeGroupBackup.Builder timeRequestReceived(Date timeRequestReceived)
The date and time the request to create the volume group backup was received. Format defined by RFC3339.
timeRequestReceived
- the value to setpublic VolumeGroupBackup.Builder type(VolumeGroupBackup.Type type)
The type of backup.
type
- the value to setpublic 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.
uniqueSizeInMbs
- the value to setpublic 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.
uniqueSizeInGbs
- the value to setpublic VolumeGroupBackup.Builder volumeBackupIds(List<String> volumeBackupIds)
OCIDs for the volume backups in this volume group backup.
volumeBackupIds
- the value to setpublic VolumeGroupBackup.Builder volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
volumeGroupId
- the value to setpublic VolumeGroupBackup.Builder sourceVolumeGroupBackupId(String sourceVolumeGroupBackupId)
The OCID of the source volume group backup.
sourceVolumeGroupBackupId
- the value to setpublic VolumeGroupBackup build()
public VolumeGroupBackup.Builder copy(VolumeGroupBackup model)
Copyright © 2016–2024. All rights reserved.