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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-