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 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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.