Class BootVolumeAttachment.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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