@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AttachIScsiVolumeDetails extends AttachVolumeDetails
AttachIScsiVolumeDetails.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 AttachIScsiVolumeDetails.Builder
, which maintain a
set of all explicitly set fields called AttachIScsiVolumeDetails.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 |
AttachIScsiVolumeDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AttachIScsiVolumeDetails(String device,
String displayName,
String instanceId,
Boolean isReadOnly,
Boolean isShareable,
String volumeId,
Boolean useChap,
EncryptionInTransitType encryptionInTransitType,
Boolean isAgentAutoIscsiLoginEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AttachIScsiVolumeDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
EncryptionInTransitType |
getEncryptionInTransitType()
Refer the top-level definition of encryptionInTransitType.
|
Boolean |
getIsAgentAutoIscsiLoginEnabled()
Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the
volume attach or detach operations for non multipath-enabled iSCSI attachments.
|
Boolean |
getUseChap()
Whether to use CHAP authentication for the volume attachment.
|
int |
hashCode() |
AttachIScsiVolumeDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDevice, getDisplayName, getInstanceId, getIsReadOnly, getIsShareable, getVolumeId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public AttachIScsiVolumeDetails(String device, String displayName, String instanceId, Boolean isReadOnly, Boolean isShareable, String volumeId, Boolean useChap, EncryptionInTransitType encryptionInTransitType, Boolean isAgentAutoIscsiLoginEnabled)
public static AttachIScsiVolumeDetails.Builder builder()
Create a new builder.
public AttachIScsiVolumeDetails.Builder toBuilder()
public Boolean getUseChap()
Whether to use CHAP authentication for the volume attachment. Defaults to false.
public EncryptionInTransitType getEncryptionInTransitType()
Refer the top-level definition of encryptionInTransitType. The default value is NONE.
public Boolean getIsAgentAutoIscsiLoginEnabled()
Whether to enable Oracle Cloud Agent to 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 AttachVolumeDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AttachVolumeDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AttachVolumeDetails
public int hashCode()
hashCode
in class AttachVolumeDetails
Copyright © 2016–2024. All rights reserved.