@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class IScsiVolumeAttachment extends VolumeAttachment
An ISCSI volume attachment.
Note: Objects should always be created or deserialized using the IScsiVolumeAttachment.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the IScsiVolumeAttachment.Builder
, which maintain a
set of all explicitly set fields called IScsiVolumeAttachment.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
IScsiVolumeAttachment.Builder |
VolumeAttachment.IscsiLoginState, VolumeAttachment.LifecycleState
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
IScsiVolumeAttachment(String availabilityDomain,
String compartmentId,
String device,
String displayName,
String id,
String instanceId,
Boolean isReadOnly,
Boolean isShareable,
VolumeAttachment.LifecycleState lifecycleState,
Date timeCreated,
String volumeId,
Boolean isPvEncryptionInTransitEnabled,
Boolean isMultipath,
VolumeAttachment.IscsiLoginState iscsiLoginState,
Boolean isVolumeCreatedDuringLaunch,
String chapSecret,
String chapUsername,
String ipv4,
String iqn,
Integer port,
List<MultipathDevice> multipathDevices,
EncryptionInTransitType encryptionInTransitType,
Boolean isAgentAutoIscsiLoginEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IScsiVolumeAttachment.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getChapSecret()
The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP
user name.
|
String |
getChapUsername()
The volume’s system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name.
|
EncryptionInTransitType |
getEncryptionInTransitType()
Refer the top-level definition of encryptionInTransitType.
|
String |
getIpv4()
The volume’s iSCSI IP address.
|
String |
getIqn()
The target volume’s iSCSI Qualified Name in the format defined by RFC
3720.
|
Boolean |
getIsAgentAutoIscsiLoginEnabled()
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.
|
List<MultipathDevice> |
getMultipathDevices()
A list of secondary multipath devices
|
Integer |
getPort()
The volume’s iSCSI port, usually port 860 or 3260.
|
int |
hashCode() |
IScsiVolumeAttachment.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAvailabilityDomain, getCompartmentId, getDevice, getDisplayName, getId, getInstanceId, getIscsiLoginState, getIsMultipath, getIsPvEncryptionInTransitEnabled, getIsReadOnly, getIsShareable, getIsVolumeCreatedDuringLaunch, getLifecycleState, getTimeCreated, getVolumeId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public IScsiVolumeAttachment(String availabilityDomain, String compartmentId, String device, String displayName, String id, String instanceId, Boolean isReadOnly, Boolean isShareable, VolumeAttachment.LifecycleState lifecycleState, Date timeCreated, String volumeId, Boolean isPvEncryptionInTransitEnabled, Boolean isMultipath, VolumeAttachment.IscsiLoginState iscsiLoginState, Boolean isVolumeCreatedDuringLaunch, String chapSecret, String chapUsername, String ipv4, String iqn, Integer port, List<MultipathDevice> multipathDevices, EncryptionInTransitType encryptionInTransitType, Boolean isAgentAutoIscsiLoginEnabled)
public static IScsiVolumeAttachment.Builder builder()
Create a new builder.
public IScsiVolumeAttachment.Builder toBuilder()
public String getChapSecret()
The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the “CHAP password”.)
public String getChapUsername()
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>
public String getIpv4()
The volume’s iSCSI IP address.
Example: 169.254.0.2
public String getIqn()
The target volume’s iSCSI Qualified Name in the format defined by RFC 3720.
Example: iqn.2015-12.us.oracle.com:<CHAP_username>
public Integer getPort()
The volume’s iSCSI port, usually port 860 or 3260.
Example: 3260
public List<MultipathDevice> getMultipathDevices()
A list of secondary multipath devices
public EncryptionInTransitType getEncryptionInTransitType()
Refer the top-level definition of encryptionInTransitType. The default value is NONE.
public Boolean getIsAgentAutoIscsiLoginEnabled()
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.
public String toString()
toString
in class VolumeAttachment
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class VolumeAttachment
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class VolumeAttachment
public int hashCode()
hashCode
in class VolumeAttachment
Copyright © 2016–2024. All rights reserved.