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

        if (obj instanceof GetAccessGrantsLocationResult == false)
            return false;
        GetAccessGrantsLocationResult other = (GetAccessGrantsLocationResult) obj;
        if (other.getCreatedAt() == null ^ this.getCreatedAt() == null)
            return false;
        if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false)
            return false;
        if (other.getAccessGrantsLocationId() == null ^ this.getAccessGrantsLocationId() == null)
            return false;
        if (other.getAccessGrantsLocationId() != null && other.getAccessGrantsLocationId().equals(this.getAccessGrantsLocationId()) == false)
            return false;
        if (other.getAccessGrantsLocationArn() == null ^ this.getAccessGrantsLocationArn() == null)
            return false;
        if (other.getAccessGrantsLocationArn() != null && other.getAccessGrantsLocationArn().equals(this.getAccessGrantsLocationArn()) == false)
            return false;
        if (other.getLocationScope() == null ^ this.getLocationScope() == null)
            return false;
        if (other.getLocationScope() != null && other.getLocationScope().equals(this.getLocationScope()) == false)
            return false;
        if (other.getIAMRoleArn() == null ^ this.getIAMRoleArn() == null)
            return false;
        if (other.getIAMRoleArn() != null && other.getIAMRoleArn().equals(this.getIAMRoleArn()) == 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-s3control/src/main/java/com/amazonaws/services/s3control/model/GetAccessGrantsLocationResult.java