Interface UpdateChapCredentialsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateChapCredentialsRequest.Builder,UpdateChapCredentialsRequest>,SdkBuilder<UpdateChapCredentialsRequest.Builder,UpdateChapCredentialsRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- UpdateChapCredentialsRequest
public static interface UpdateChapCredentialsRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateChapCredentialsRequest.Builder,UpdateChapCredentialsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateChapCredentialsRequest.BuilderinitiatorName(String initiatorName)The iSCSI initiator that connects to the target.UpdateChapCredentialsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateChapCredentialsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateChapCredentialsRequest.BuildersecretToAuthenticateInitiator(String secretToAuthenticateInitiator)The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.UpdateChapCredentialsRequest.BuildersecretToAuthenticateTarget(String secretToAuthenticateTarget)The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.UpdateChapCredentialsRequest.BuildertargetARN(String targetARN)The Amazon Resource Name (ARN) of the iSCSI volume target.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
-
-
-
Method Detail
-
targetARN
UpdateChapCredentialsRequest.Builder targetARN(String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
- Parameters:
targetARN- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretToAuthenticateInitiator
UpdateChapCredentialsRequest.Builder secretToAuthenticateInitiator(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
initiatorName
UpdateChapCredentialsRequest.Builder initiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
- Parameters:
initiatorName- The iSCSI initiator that connects to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretToAuthenticateTarget
UpdateChapCredentialsRequest.Builder secretToAuthenticateTarget(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateChapCredentialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateChapCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-