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

        if (obj instanceof SelfservicePermissions == false)
            return false;
        SelfservicePermissions other = (SelfservicePermissions) obj;
        if (other.getRestartWorkspace() == null ^ this.getRestartWorkspace() == null)
            return false;
        if (other.getRestartWorkspace() != null && other.getRestartWorkspace().equals(this.getRestartWorkspace()) == false)
            return false;
        if (other.getIncreaseVolumeSize() == null ^ this.getIncreaseVolumeSize() == null)
            return false;
        if (other.getIncreaseVolumeSize() != null && other.getIncreaseVolumeSize().equals(this.getIncreaseVolumeSize()) == false)
            return false;
        if (other.getChangeComputeType() == null ^ this.getChangeComputeType() == null)
            return false;
        if (other.getChangeComputeType() != null && other.getChangeComputeType().equals(this.getChangeComputeType()) == false)
            return false;
        if (other.getSwitchRunningMode() == null ^ this.getSwitchRunningMode() == null)
            return false;
        if (other.getSwitchRunningMode() != null && other.getSwitchRunningMode().equals(this.getSwitchRunningMode()) == false)
            return false;
        if (other.getRebuildWorkspace() == null ^ this.getRebuildWorkspace() == null)
            return false;
        if (other.getRebuildWorkspace() != null && other.getRebuildWorkspace().equals(this.getRebuildWorkspace()) == 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-workspaces/src/main/java/com/amazonaws/services/workspaces/model/SelfservicePermissions.java