public static class IScsiVolumeAttachment.Builder extends Object
Constructor and Description |
---|
Builder() |
public IScsiVolumeAttachment.Builder availabilityDomain(String availabilityDomain)
public IScsiVolumeAttachment.Builder compartmentId(String compartmentId)
public IScsiVolumeAttachment.Builder device(String device)
public IScsiVolumeAttachment.Builder displayName(String displayName)
public IScsiVolumeAttachment.Builder id(String id)
public IScsiVolumeAttachment.Builder instanceId(String instanceId)
public IScsiVolumeAttachment.Builder isReadOnly(Boolean isReadOnly)
public IScsiVolumeAttachment.Builder isShareable(Boolean isShareable)
public IScsiVolumeAttachment.Builder lifecycleState(VolumeAttachment.LifecycleState lifecycleState)
public IScsiVolumeAttachment.Builder timeCreated(Date timeCreated)
public IScsiVolumeAttachment.Builder volumeId(String volumeId)
public IScsiVolumeAttachment.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
public IScsiVolumeAttachment.Builder isMultipath(Boolean isMultipath)
public IScsiVolumeAttachment.Builder iscsiLoginState(VolumeAttachment.IscsiLoginState iscsiLoginState)
public IScsiVolumeAttachment.Builder isVolumeCreatedDuringLaunch(Boolean isVolumeCreatedDuringLaunch)
public IScsiVolumeAttachment.Builder chapSecret(String chapSecret)
The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the “CHAP password”.)
chapSecret
- the value to setpublic IScsiVolumeAttachment.Builder chapUsername(String chapUsername)
The volume’s system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP.
Example: ocid1.volume.oc1.phx.<unique_ID>
chapUsername
- the value to setpublic IScsiVolumeAttachment.Builder ipv4(String ipv4)
The volume’s iSCSI IP address.
Example: 169.254.0.2
ipv4
- the value to setpublic IScsiVolumeAttachment.Builder iqn(String iqn)
The target volume’s iSCSI Qualified Name in the format defined by RFC 3720.
Example: iqn.2015-12.us.oracle.com:<CHAP_username>
iqn
- the value to setpublic IScsiVolumeAttachment.Builder port(Integer port)
The volume’s iSCSI port, usually port 860 or 3260.
Example: 3260
port
- the value to setpublic IScsiVolumeAttachment.Builder multipathDevices(List<MultipathDevice> multipathDevices)
A list of secondary multipath devices
multipathDevices
- the value to setpublic IScsiVolumeAttachment.Builder encryptionInTransitType(EncryptionInTransitType encryptionInTransitType)
Refer the top-level definition of encryptionInTransitType. The default value is NONE.
encryptionInTransitType
- the value to setpublic IScsiVolumeAttachment.Builder isAgentAutoIscsiLoginEnabled(Boolean isAgentAutoIscsiLoginEnabled)
Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
isAgentAutoIscsiLoginEnabled
- the value to setpublic IScsiVolumeAttachment build()
public IScsiVolumeAttachment.Builder copy(IScsiVolumeAttachment model)
Copyright © 2016–2024. All rights reserved.