Interface UpdateChapCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateChapCredentialsRequest.Builder,
,UpdateChapCredentialsRequest> SdkBuilder<UpdateChapCredentialsRequest.Builder,
,UpdateChapCredentialsRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
UpdateChapCredentialsRequest
-
Method Summary
Modifier and TypeMethodDescriptioninitiatorName
(String initiatorName) The iSCSI initiator that connects to the target.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.secretToAuthenticateInitiator
(String secretToAuthenticateInitiator) The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.secretToAuthenticateTarget
(String secretToAuthenticateTarget) The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.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 Details
-
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateChapCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-