Class UpdateChapCredentialsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest
-
- software.amazon.awssdk.services.storagegateway.model.UpdateChapCredentialsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateChapCredentialsRequest.Builder,UpdateChapCredentialsRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateChapCredentialsRequest extends StorageGatewayRequest implements ToCopyableBuilder<UpdateChapCredentialsRequest.Builder,UpdateChapCredentialsRequest>
A JSON object containing one or more of the following fields:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateChapCredentialsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateChapCredentialsRequest.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.static Class<? extends UpdateChapCredentialsRequest.Builder>serializableBuilderClass()StringtargetARN()The Amazon Resource Name (ARN) of the iSCSI volume target.UpdateChapCredentialsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
- Returns:
- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
-
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.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
- Returns:
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual
CHAP with the target.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
-
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).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
- Returns:
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
Windows client).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
-
toBuilder
public UpdateChapCredentialsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateChapCredentialsRequest.Builder,UpdateChapCredentialsRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static UpdateChapCredentialsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateChapCredentialsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-