Class UpdateChapCredentialsRequest

    • Constructor Detail

      • UpdateChapCredentialsRequest

        public UpdateChapCredentialsRequest()
    • Method Detail

      • setTargetARN

        public void setTargetARN​(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.
      • getTargetARN

        public String getTargetARN()

        The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.

        Returns:
        The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
      • withTargetARN

        public UpdateChapCredentialsRequest withTargetARN​(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.
      • setSecretToAuthenticateInitiator

        public void setSecretToAuthenticateInitiator​(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.

      • getSecretToAuthenticateInitiator

        public String getSecretToAuthenticateInitiator()

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

      • withSecretToAuthenticateInitiator

        public UpdateChapCredentialsRequest withSecretToAuthenticateInitiator​(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.
      • setInitiatorName

        public void setInitiatorName​(String initiatorName)

        The iSCSI initiator that connects to the target.

        Parameters:
        initiatorName - The iSCSI initiator that connects to the target.
      • getInitiatorName

        public String getInitiatorName()

        The iSCSI initiator that connects to the target.

        Returns:
        The iSCSI initiator that connects to the target.
      • withInitiatorName

        public UpdateChapCredentialsRequest withInitiatorName​(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.
      • setSecretToAuthenticateTarget

        public void setSecretToAuthenticateTarget​(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.

      • getSecretToAuthenticateTarget

        public String getSecretToAuthenticateTarget()

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

      • withSecretToAuthenticateTarget

        public UpdateChapCredentialsRequest withSecretToAuthenticateTarget​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object