public static class BootVolumeAttachment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BootVolumeAttachment.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of an instance.
|
BootVolumeAttachment.Builder |
bootVolumeId(String bootVolumeId)
The OCID of the boot volume.
|
BootVolumeAttachment |
build() |
BootVolumeAttachment.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
BootVolumeAttachment.Builder |
copy(BootVolumeAttachment model) |
BootVolumeAttachment.Builder |
displayName(String displayName)
A user-friendly name.
|
BootVolumeAttachment.Builder |
encryptionInTransitType(EncryptionInTransitType encryptionInTransitType)
Refer the top-level definition of encryptionInTransitType.
|
BootVolumeAttachment.Builder |
id(String id)
The OCID of the boot volume attachment.
|
BootVolumeAttachment.Builder |
instanceId(String instanceId)
The OCID of the instance the boot volume is attached to.
|
BootVolumeAttachment.Builder |
isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether in-transit encryption for the boot volume’s paravirtualized attachment is enabled
or not.
|
BootVolumeAttachment.Builder |
lifecycleState(BootVolumeAttachment.LifecycleState lifecycleState)
The current state of the boot volume attachment.
|
BootVolumeAttachment.Builder |
timeCreated(Date timeCreated)
The date and time the boot volume was created, in the format defined by
RFC3339.
|
BootVolumeAttachment.Builder |
timeUpdated(Date timeUpdated)
The date and time the boot volume attachment was updated, in the format defined by
RFC3339.
|
public BootVolumeAttachment.Builder availabilityDomain(String availabilityDomain)
The availability domain of an instance.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic BootVolumeAttachment.Builder bootVolumeId(String bootVolumeId)
The OCID of the boot volume.
bootVolumeId
- the value to setpublic BootVolumeAttachment.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic BootVolumeAttachment.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 BootVolumeAttachment.Builder id(String id)
The OCID of the boot volume attachment.
id
- the value to setpublic BootVolumeAttachment.Builder instanceId(String instanceId)
The OCID of the instance the boot volume is attached to.
instanceId
- the value to setpublic BootVolumeAttachment.Builder lifecycleState(BootVolumeAttachment.LifecycleState lifecycleState)
The current state of the boot volume attachment.
lifecycleState
- the value to setpublic BootVolumeAttachment.Builder timeCreated(Date timeCreated)
The date and time the boot volume was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic BootVolumeAttachment.Builder timeUpdated(Date timeUpdated)
The date and time the boot volume attachment was updated, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic BootVolumeAttachment.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether in-transit encryption for the boot volume’s paravirtualized attachment is enabled or not.
isPvEncryptionInTransitEnabled
- the value to setpublic BootVolumeAttachment.Builder encryptionInTransitType(EncryptionInTransitType encryptionInTransitType)
Refer the top-level definition of encryptionInTransitType. The default value is NONE.
encryptionInTransitType
- the value to setpublic BootVolumeAttachment build()
public BootVolumeAttachment.Builder copy(BootVolumeAttachment model)
Copyright © 2016–2024. All rights reserved.