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

        if (obj instanceof Outpost == false)
            return false;
        Outpost other = (Outpost) obj;
        if (other.getOutpostArn() == null ^ this.getOutpostArn() == null)
            return false;
        if (other.getOutpostArn() != null && other.getOutpostArn().equals(this.getOutpostArn()) == false)
            return false;
        if (other.getS3OutpostArn() == null ^ this.getS3OutpostArn() == null)
            return false;
        if (other.getS3OutpostArn() != null && other.getS3OutpostArn().equals(this.getS3OutpostArn()) == false)
            return false;
        if (other.getOutpostId() == null ^ this.getOutpostId() == null)
            return false;
        if (other.getOutpostId() != null && other.getOutpostId().equals(this.getOutpostId()) == false)
            return false;
        if (other.getOwnerId() == null ^ this.getOwnerId() == null)
            return false;
        if (other.getOwnerId() != null && other.getOwnerId().equals(this.getOwnerId()) == false)
            return false;
        if (other.getCapacityInBytes() == null ^ this.getCapacityInBytes() == null)
            return false;
        if (other.getCapacityInBytes() != null && other.getCapacityInBytes().equals(this.getCapacityInBytes()) == 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-s3outposts/src/main/java/com/amazonaws/services/s3outposts/model/Outpost.java