public static class BootVolumeBackup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BootVolumeBackup.Builder |
bootVolumeId(String bootVolumeId)
The OCID of the boot volume.
|
BootVolumeBackup |
build() |
BootVolumeBackup.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the boot volume backup.
|
BootVolumeBackup.Builder |
copy(BootVolumeBackup model) |
BootVolumeBackup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BootVolumeBackup.Builder |
displayName(String displayName)
A user-friendly name.
|
BootVolumeBackup.Builder |
expirationTime(Date expirationTime)
The date and time the volume backup will expire and be automatically deleted.
|
BootVolumeBackup.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
BootVolumeBackup.Builder |
id(String id)
The OCID of the boot volume backup.
|
BootVolumeBackup.Builder |
imageId(String imageId)
The image OCID used to create the boot volume the backup is taken from.
|
BootVolumeBackup.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the Vault service master encryption assigned to the boot volume backup.
|
BootVolumeBackup.Builder |
lifecycleState(BootVolumeBackup.LifecycleState lifecycleState)
The current state of a boot volume backup.
|
BootVolumeBackup.Builder |
sizeInGBs(Long sizeInGBs)
The size of the boot volume, in GBs.
|
BootVolumeBackup.Builder |
sourceBootVolumeBackupId(String sourceBootVolumeBackupId)
The OCID of the source boot volume backup.
|
BootVolumeBackup.Builder |
sourceType(BootVolumeBackup.SourceType sourceType)
Specifies whether the backup was created manually, or via scheduled backup policy.
|
BootVolumeBackup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
BootVolumeBackup.Builder |
timeCreated(Date timeCreated)
The date and time the boot volume backup was created.
|
BootVolumeBackup.Builder |
timeRequestReceived(Date timeRequestReceived)
The date and time the request to create the boot volume backup was received.
|
BootVolumeBackup.Builder |
type(BootVolumeBackup.Type type)
The type of a volume backup.
|
BootVolumeBackup.Builder |
uniqueSizeInGBs(Long uniqueSizeInGBs)
The size used by the backup, in GBs.
|
public BootVolumeBackup.Builder bootVolumeId(String bootVolumeId)
The OCID of the boot volume.
bootVolumeId
- the value to setpublic BootVolumeBackup.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the boot volume backup.
compartmentId
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic BootVolumeBackup.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 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.
expirationTime
- the value to setpublic 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"}
freeformTags
- the value to setpublic BootVolumeBackup.Builder id(String id)
The OCID of the boot volume backup.
id
- the value to setpublic BootVolumeBackup.Builder imageId(String imageId)
The image OCID used to create the boot volume the backup is taken from.
imageId
- the value to setpublic 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.
kmsKeyId
- the value to setpublic BootVolumeBackup.Builder lifecycleState(BootVolumeBackup.LifecycleState lifecycleState)
The current state of a boot volume backup.
lifecycleState
- the value to setpublic BootVolumeBackup.Builder sizeInGBs(Long sizeInGBs)
The size of the boot volume, in GBs.
sizeInGBs
- the value to setpublic BootVolumeBackup.Builder sourceBootVolumeBackupId(String sourceBootVolumeBackupId)
The OCID of the source boot volume backup.
sourceBootVolumeBackupId
- the value to setpublic BootVolumeBackup.Builder sourceType(BootVolumeBackup.SourceType sourceType)
Specifies whether the backup was created manually, or via scheduled backup policy.
sourceType
- the value to setpublic 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.
timeCreated
- the value to setpublic BootVolumeBackup.Builder timeRequestReceived(Date timeRequestReceived)
The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
timeRequestReceived
- the value to setpublic BootVolumeBackup.Builder type(BootVolumeBackup.Type type)
The type of a volume backup.
type
- the value to setpublic 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.
uniqueSizeInGBs
- the value to setpublic BootVolumeBackup build()
public BootVolumeBackup.Builder copy(BootVolumeBackup model)
Copyright © 2016–2024. All rights reserved.