@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getNetworkInsightsAnalysisId() != null)
            sb.append("NetworkInsightsAnalysisId: ").append(getNetworkInsightsAnalysisId()).append(",");
        if (getNetworkInsightsAnalysisArn() != null)
            sb.append("NetworkInsightsAnalysisArn: ").append(getNetworkInsightsAnalysisArn()).append(",");
        if (getNetworkInsightsPathId() != null)
            sb.append("NetworkInsightsPathId: ").append(getNetworkInsightsPathId()).append(",");
        if (getAdditionalAccounts() != null)
            sb.append("AdditionalAccounts: ").append(getAdditionalAccounts()).append(",");
        if (getFilterInArns() != null)
            sb.append("FilterInArns: ").append(getFilterInArns()).append(",");
        if (getStartDate() != null)
            sb.append("StartDate: ").append(getStartDate()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getStatusMessage() != null)
            sb.append("StatusMessage: ").append(getStatusMessage()).append(",");
        if (getWarningMessage() != null)
            sb.append("WarningMessage: ").append(getWarningMessage()).append(",");
        if (getNetworkPathFound() != null)
            sb.append("NetworkPathFound: ").append(getNetworkPathFound()).append(",");
        if (getForwardPathComponents() != null)
            sb.append("ForwardPathComponents: ").append(getForwardPathComponents()).append(",");
        if (getReturnPathComponents() != null)
            sb.append("ReturnPathComponents: ").append(getReturnPathComponents()).append(",");
        if (getExplanations() != null)
            sb.append("Explanations: ").append(getExplanations()).append(",");
        if (getAlternatePathHints() != null)
            sb.append("AlternatePathHints: ").append(getAlternatePathHints()).append(",");
        if (getSuggestedAccounts() != null)
            sb.append("SuggestedAccounts: ").append(getSuggestedAccounts()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags());
        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-ec2/src/main/java/com/amazonaws/services/ec2/model/NetworkInsightsAnalysis.java