@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDeviceSerialNumber() != null)
            sb.append("DeviceSerialNumber: ").append(getDeviceSerialNumber()).append(",");
        if (getAssetId() != null)
            sb.append("AssetId: ").append(getAssetId()).append(",");
        if (getClientPublicKey() != null)
            sb.append("ClientPublicKey: ").append(getClientPublicKey()).append(",");
        if (getNetworkInterfaceDeviceIndex() != null)
            sb.append("NetworkInterfaceDeviceIndex: ").append(getNetworkInterfaceDeviceIndex());
        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-outposts/src/main/java/com/amazonaws/services/outposts/model/StartConnectionRequest.java