@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getGatewayARN() != null)
            sb.append("GatewayARN: ").append(getGatewayARN()).append(",");
        if (getGatewayId() != null)
            sb.append("GatewayId: ").append(getGatewayId()).append(",");
        if (getGatewayName() != null)
            sb.append("GatewayName: ").append(getGatewayName()).append(",");
        if (getGatewayTimezone() != null)
            sb.append("GatewayTimezone: ").append(getGatewayTimezone()).append(",");
        if (getGatewayState() != null)
            sb.append("GatewayState: ").append(getGatewayState()).append(",");
        if (getGatewayNetworkInterfaces() != null)
            sb.append("GatewayNetworkInterfaces: ").append("***Sensitive Data Redacted***").append(",");
        if (getGatewayType() != null)
            sb.append("GatewayType: ").append(getGatewayType()).append(",");
        if (getNextUpdateAvailabilityDate() != null)
            sb.append("NextUpdateAvailabilityDate: ").append(getNextUpdateAvailabilityDate()).append(",");
        if (getLastSoftwareUpdate() != null)
            sb.append("LastSoftwareUpdate: ").append(getLastSoftwareUpdate()).append(",");
        if (getEc2InstanceId() != null)
            sb.append("Ec2InstanceId: ").append(getEc2InstanceId()).append(",");
        if (getEc2InstanceRegion() != null)
            sb.append("Ec2InstanceRegion: ").append(getEc2InstanceRegion()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags()).append(",");
        if (getVPCEndpoint() != null)
            sb.append("VPCEndpoint: ").append(getVPCEndpoint()).append(",");
        if (getCloudWatchLogGroupARN() != null)
            sb.append("CloudWatchLogGroupARN: ").append(getCloudWatchLogGroupARN()).append(",");
        if (getHostEnvironment() != null)
            sb.append("HostEnvironment: ").append(getHostEnvironment()).append(",");
        if (getEndpointType() != null)
            sb.append("EndpointType: ").append(getEndpointType()).append(",");
        if (getSoftwareUpdatesEndDate() != null)
            sb.append("SoftwareUpdatesEndDate: ").append(getSoftwareUpdatesEndDate()).append(",");
        if (getDeprecationDate() != null)
            sb.append("DeprecationDate: ").append(getDeprecationDate()).append(",");
        if (getGatewayCapacity() != null)
            sb.append("GatewayCapacity: ").append(getGatewayCapacity()).append(",");
        if (getSupportedGatewayCapacities() != null)
            sb.append("SupportedGatewayCapacities: ").append(getSupportedGatewayCapacities()).append(",");
        if (getHostEnvironmentId() != null)
            sb.append("HostEnvironmentId: ").append(getHostEnvironmentId()).append(",");
        if (getSoftwareVersion() != null)
            sb.append("SoftwareVersion: ").append(getSoftwareVersion());
        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-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/DescribeGatewayInformationResult.java