@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof AgentConfiguration == false)
            return false;
        AgentConfiguration other = (AgentConfiguration) obj;
        if (other.getAgentParameters() == null ^ this.getAgentParameters() == null)
            return false;
        if (other.getAgentParameters() != null && other.getAgentParameters().equals(this.getAgentParameters()) == false)
            return false;
        if (other.getPeriodInSeconds() == null ^ this.getPeriodInSeconds() == null)
            return false;
        if (other.getPeriodInSeconds() != null && other.getPeriodInSeconds().equals(this.getPeriodInSeconds()) == false)
            return false;
        if (other.getShouldProfile() == null ^ this.getShouldProfile() == null)
            return false;
        if (other.getShouldProfile() != null && other.getShouldProfile().equals(this.getShouldProfile()) == false)
            return false;
        return true;
    }
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-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/AgentConfiguration.java