Class ChapInfo
- java.lang.Object
-
- software.amazon.awssdk.services.storagegateway.model.ChapInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChapInfo.Builder,ChapInfo>
@Generated("software.amazon.awssdk:codegen") public final class ChapInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChapInfo.Builder,ChapInfo>
Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChapInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChapInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinitiatorName()The iSCSI initiator that connects to the target.List<SdkField<?>>sdkFields()StringsecretToAuthenticateInitiator()The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.StringsecretToAuthenticateTarget()The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).static Class<? extends ChapInfo.Builder>serializableBuilderClass()StringtargetARN()The Amazon Resource Name (ARN) of the volume.ChapInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
targetARN
public final String targetARN()
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
secretToAuthenticateInitiator
public final String secretToAuthenticateInitiator()
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
- Returns:
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
initiatorName
public final String initiatorName()
The iSCSI initiator that connects to the target.
- Returns:
- The iSCSI initiator that connects to the target.
-
secretToAuthenticateTarget
public final String secretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).
- Returns:
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).
-
toBuilder
public ChapInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChapInfo.Builder,ChapInfo>
-
builder
public static ChapInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChapInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-