@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAlternateSoftwares() != null)
            sb.append("AlternateSoftwares: ").append(getAlternateSoftwares()).append(",");
        if (getArn() != null)
            sb.append("Arn: ").append(getArn()).append(",");
        if (getBrand() != null)
            sb.append("Brand: ").append(getBrand()).append(",");
        if (getCreatedTime() != null)
            sb.append("CreatedTime: ").append(getCreatedTime()).append(",");
        if (getCurrentNetworkingStatus() != null)
            sb.append("CurrentNetworkingStatus: ").append(getCurrentNetworkingStatus()).append(",");
        if (getCurrentSoftware() != null)
            sb.append("CurrentSoftware: ").append(getCurrentSoftware()).append(",");
        if (getDescription() != null)
            sb.append("Description: ").append(getDescription()).append(",");
        if (getDeviceAggregatedStatus() != null)
            sb.append("DeviceAggregatedStatus: ").append(getDeviceAggregatedStatus()).append(",");
        if (getDeviceConnectionStatus() != null)
            sb.append("DeviceConnectionStatus: ").append(getDeviceConnectionStatus()).append(",");
        if (getDeviceId() != null)
            sb.append("DeviceId: ").append(getDeviceId()).append(",");
        if (getLatestAlternateSoftware() != null)
            sb.append("LatestAlternateSoftware: ").append(getLatestAlternateSoftware()).append(",");
        if (getLatestDeviceJob() != null)
            sb.append("LatestDeviceJob: ").append(getLatestDeviceJob()).append(",");
        if (getLatestSoftware() != null)
            sb.append("LatestSoftware: ").append(getLatestSoftware()).append(",");
        if (getLeaseExpirationTime() != null)
            sb.append("LeaseExpirationTime: ").append(getLeaseExpirationTime()).append(",");
        if (getName() != null)
            sb.append("Name: ").append(getName()).append(",");
        if (getNetworkingConfiguration() != null)
            sb.append("NetworkingConfiguration: ").append(getNetworkingConfiguration()).append(",");
        if (getProvisioningStatus() != null)
            sb.append("ProvisioningStatus: ").append(getProvisioningStatus()).append(",");
        if (getSerialNumber() != null)
            sb.append("SerialNumber: ").append(getSerialNumber()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags()).append(",");
        if (getType() != null)
            sb.append("Type: ").append(getType());
        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-panorama/src/main/java/com/amazonaws/services/panorama/model/DescribeDeviceResult.java