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

        if (obj instanceof UpdateTaskProtectionRequest == false)
            return false;
        UpdateTaskProtectionRequest other = (UpdateTaskProtectionRequest) obj;
        if (other.getCluster() == null ^ this.getCluster() == null)
            return false;
        if (other.getCluster() != null && other.getCluster().equals(this.getCluster()) == false)
            return false;
        if (other.getTasks() == null ^ this.getTasks() == null)
            return false;
        if (other.getTasks() != null && other.getTasks().equals(this.getTasks()) == false)
            return false;
        if (other.getProtectionEnabled() == null ^ this.getProtectionEnabled() == null)
            return false;
        if (other.getProtectionEnabled() != null && other.getProtectionEnabled().equals(this.getProtectionEnabled()) == false)
            return false;
        if (other.getExpiresInMinutes() == null ^ this.getExpiresInMinutes() == null)
            return false;
        if (other.getExpiresInMinutes() != null && other.getExpiresInMinutes().equals(this.getExpiresInMinutes()) == 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-ecs/src/main/java/com/amazonaws/services/ecs/model/UpdateTaskProtectionRequest.java