@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getKeyId() != null)
            sb.append("KeyId: ").append(getKeyId()).append(",");
        if (getSharedSecret() != null)
            sb.append("SharedSecret: ").append("***Sensitive Data Redacted***").append(",");
        if (getCiphertextForRecipient() != null)
            sb.append("CiphertextForRecipient: ").append(getCiphertextForRecipient()).append(",");
        if (getKeyAgreementAlgorithm() != null)
            sb.append("KeyAgreementAlgorithm: ").append(getKeyAgreementAlgorithm()).append(",");
        if (getKeyOrigin() != null)
            sb.append("KeyOrigin: ").append(getKeyOrigin());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/DeriveSharedSecretResult.java