Interface UpdateChapCredentialsRequest.Builder

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