@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,
Boolean isShareable,
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, usually port 860 or 3260.
|
int |
hashCode() |
IScsiVolumeAttachment.Builder |
toBuilder() |
String |
toString() |
getAvailabilityDomain, getCompartmentId, getDevice, getDisplayName, getId, getInstanceId, getIsPvEncryptionInTransitEnabled, getIsReadOnly, getIsShareable, getLifecycleState, getTimeCreated, getVolumeId
@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, String chapSecret, String chapUsername, String ipv4, String iqn, Integer port)
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.
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:
public Integer getPort()
The volume’s iSCSI port, usually port 860 or 3260.
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–2021. All rights reserved.