Package com.oracle.bmc.core.model
Class BootVolumeAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.BootVolumeAttachment.Builder
-
- Enclosing class:
- BootVolumeAttachment
public static class BootVolumeAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BootVolumeAttachment.BuilderavailabilityDomain(String availabilityDomain)The availability domain of an instance.BootVolumeAttachment.BuilderbootVolumeId(String bootVolumeId)The OCID of the boot volume.BootVolumeAttachmentbuild()BootVolumeAttachment.BuildercompartmentId(String compartmentId)The OCID of the compartment.BootVolumeAttachment.Buildercopy(BootVolumeAttachment model)BootVolumeAttachment.BuilderdisplayName(String displayName)A user-friendly name.BootVolumeAttachment.BuilderencryptionInTransitType(EncryptionInTransitType encryptionInTransitType)Refer the top-level definition of encryptionInTransitType.BootVolumeAttachment.Builderid(String id)The OCID of the boot volume attachment.BootVolumeAttachment.BuilderinstanceId(String instanceId)The OCID of the instance the boot volume is attached to.BootVolumeAttachment.BuilderisPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)Whether in-transit encryption for the boot volume’s paravirtualized attachment is enabled or not.BootVolumeAttachment.BuilderlifecycleState(BootVolumeAttachment.LifecycleState lifecycleState)The current state of the boot volume attachment.BootVolumeAttachment.BuildertimeCreated(Date timeCreated)The date and time the boot volume was created, in the format defined by RFC3339.BootVolumeAttachment.BuildertimeUpdated(Date timeUpdated)The date and time the boot volume attachment was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
availabilityDomain
public BootVolumeAttachment.Builder availabilityDomain(String availabilityDomain)
The availability domain of an instance.Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
bootVolumeId
public BootVolumeAttachment.Builder bootVolumeId(String bootVolumeId)
The OCID of the boot volume.- Parameters:
bootVolumeId- the value to set- Returns:
- this builder
-
compartmentId
public BootVolumeAttachment.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public BootVolumeAttachment.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
-
id
public BootVolumeAttachment.Builder id(String id)
The OCID of the boot volume attachment.- Parameters:
id- the value to set- Returns:
- this builder
-
instanceId
public BootVolumeAttachment.Builder instanceId(String instanceId)
The OCID of the instance the boot volume is attached to.- Parameters:
instanceId- the value to set- Returns:
- this builder
-
lifecycleState
public BootVolumeAttachment.Builder lifecycleState(BootVolumeAttachment.LifecycleState lifecycleState)
The current state of the boot volume attachment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
isPvEncryptionInTransitEnabled
public BootVolumeAttachment.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether in-transit encryption for the boot volume’s paravirtualized attachment is enabled or not.- Parameters:
isPvEncryptionInTransitEnabled- the value to set- Returns:
- this builder
-
encryptionInTransitType
public BootVolumeAttachment.Builder encryptionInTransitType(EncryptionInTransitType encryptionInTransitType)
Refer the top-level definition of encryptionInTransitType.The default value is NONE.
- Parameters:
encryptionInTransitType- the value to set- Returns:
- this builder
-
build
public BootVolumeAttachment build()
-
copy
public BootVolumeAttachment.Builder copy(BootVolumeAttachment model)
-
-