@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 __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
IScsiVolumeAttachment.Builder |
VolumeAttachment.LifecycleState
Constructor and Description |
---|
IScsiVolumeAttachment(String availabilityDomain,
String compartmentId,
String device,
String displayName,
String id,
String instanceId,
Boolean isReadOnly,
VolumeAttachment.LifecycleState lifecycleState,
Date timeCreated,
String volumeId,
Boolean isPvEncryptionInTransitEnabled,
String chapSecret,
String chapUsername,
String ipv4,
String iqn,
Integer port)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IScsiVolumeAttachment.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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.
|
String |
getIpv4()
The volume’s iSCSI IP address.
|
String |
getIqn()
The target volume’s iSCSI Qualified Name in the format defined by RFC 3720.
|
Integer |
getPort()
The volume’s iSCSI port.
|
int |
hashCode() |
String |
toString() |
getAvailabilityDomain, getCompartmentId, getDevice, getDisplayName, getId, getInstanceId, getIsPvEncryptionInTransitEnabled, getIsReadOnly, getLifecycleState, getTimeCreated, getVolumeId
@Deprecated public IScsiVolumeAttachment(String availabilityDomain, String compartmentId, String device, String displayName, String id, String instanceId, Boolean isReadOnly, VolumeAttachment.LifecycleState lifecycleState, Date timeCreated, String volumeId, Boolean isPvEncryptionInTransitEnabled, String chapSecret, String chapUsername, String ipv4, String iqn, Integer port)
public static IScsiVolumeAttachment.Builder builder()
Create a new builder.
public String getChapSecret()
The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
Example: d6866c0d-298b-48ba-95af-309b4faux45e
public String getChapUsername()
The volume’s system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name.
Example: ocid1.volume.oc1.phx.abyhqljrgvttnlx73nmrwfaux7kcvzfs3s66izvxf2h4lgvyndsdsnoiwr5q
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:456b0391-17b8-4122-bbf1-f85fc0bb97d9
public Integer getPort()
The volume’s iSCSI port.
Example: 3260
public String toString()
toString
in class VolumeAttachment
public boolean equals(Object o)
equals
in class VolumeAttachment
protected boolean canEqual(Object other)
canEqual
in class VolumeAttachment
public int hashCode()
hashCode
in class VolumeAttachment
Copyright © 2016–2019. All rights reserved.