Interface SSHPublicKeyMetadata.Builder

    • Method Detail

      • userName

        SSHPublicKeyMetadata.Builder userName​(String userName)

        The name of the IAM user associated with the SSH public key.

        Parameters:
        userName - The name of the IAM user associated with the SSH public key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sshPublicKeyId

        SSHPublicKeyMetadata.Builder sshPublicKeyId​(String sshPublicKeyId)

        The unique identifier for the SSH public key.

        Parameters:
        sshPublicKeyId - The unique identifier for the SSH public key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        SSHPublicKeyMetadata.Builder status​(String status)

        The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.

        Parameters:
        status - The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StatusType, StatusType
      • status

        SSHPublicKeyMetadata.Builder status​(StatusType status)

        The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.

        Parameters:
        status - The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StatusType, StatusType