@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class LaunchAttachIScsiVolumeDetails extends LaunchAttachVolumeDetails
Details specific to ISCSI type volume attachments.
Note: Objects should always be created or deserialized using the LaunchAttachIScsiVolumeDetails.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 LaunchAttachIScsiVolumeDetails.Builder
, which maintain a
set of all explicitly set fields called LaunchAttachIScsiVolumeDetails.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 |
LaunchAttachIScsiVolumeDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
LaunchAttachIScsiVolumeDetails(String device,
String displayName,
Boolean isReadOnly,
Boolean isShareable,
String volumeId,
LaunchCreateVolumeDetails launchCreateVolumeDetails,
Boolean useChap,
EncryptionInTransitType encryptionInTransitType,
Boolean isAgentAutoIscsiLoginEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LaunchAttachIScsiVolumeDetails.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() |
LaunchAttachIScsiVolumeDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDevice, getDisplayName, getIsReadOnly, getIsShareable, getLaunchCreateVolumeDetails, getVolumeId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public LaunchAttachIScsiVolumeDetails(String device, String displayName, Boolean isReadOnly, Boolean isShareable, String volumeId, LaunchCreateVolumeDetails launchCreateVolumeDetails, Boolean useChap, EncryptionInTransitType encryptionInTransitType, Boolean isAgentAutoIscsiLoginEnabled)
public static LaunchAttachIScsiVolumeDetails.Builder builder()
Create a new builder.
public LaunchAttachIScsiVolumeDetails.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 LaunchAttachVolumeDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class LaunchAttachVolumeDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class LaunchAttachVolumeDetails
public int hashCode()
hashCode
in class LaunchAttachVolumeDetails
Copyright © 2016–2024. All rights reserved.