Package com.oracle.bmc.core.model
Class VolumeBackupPolicyAssignment.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.VolumeBackupPolicyAssignment.Builder
-
- Enclosing class:
- VolumeBackupPolicyAssignment
public static class VolumeBackupPolicyAssignment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeBackupPolicyAssignment.Builder
assetId(String assetId)
The OCID of the volume the policy has been assigned to.VolumeBackupPolicyAssignment
build()
VolumeBackupPolicyAssignment.Builder
copy(VolumeBackupPolicyAssignment model)
VolumeBackupPolicyAssignment.Builder
id(String id)
The OCID of the volume backup policy assignment.VolumeBackupPolicyAssignment.Builder
policyId(String policyId)
The OCID of the volume backup policy that has been assigned to the volume.VolumeBackupPolicyAssignment.Builder
timeCreated(Date timeCreated)
The date and time the volume backup policy was assigned to the volume.VolumeBackupPolicyAssignment.Builder
xrcKmsKeyId(String xrcKmsKeyId)
The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys.
-
-
-
Method Detail
-
assetId
public VolumeBackupPolicyAssignment.Builder assetId(String assetId)
The OCID of the volume the policy has been assigned to.- Parameters:
assetId
- the value to set- Returns:
- this builder
-
id
public VolumeBackupPolicyAssignment.Builder id(String id)
The OCID of the volume backup policy assignment.- Parameters:
id
- the value to set- Returns:
- this builder
-
policyId
public VolumeBackupPolicyAssignment.Builder policyId(String policyId)
The OCID of the volume backup policy that has been assigned to the volume.- Parameters:
policyId
- the value to set- Returns:
- this builder
-
timeCreated
public VolumeBackupPolicyAssignment.Builder timeCreated(Date timeCreated)
The date and time the volume backup policy was assigned to the volume.The format is defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
xrcKmsKeyId
public VolumeBackupPolicyAssignment.Builder xrcKmsKeyId(String xrcKmsKeyId)
The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys.For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Parameters:
xrcKmsKeyId
- the value to set- Returns:
- this builder
-
build
public VolumeBackupPolicyAssignment build()
-
copy
public VolumeBackupPolicyAssignment.Builder copy(VolumeBackupPolicyAssignment model)
-
-